Search found 49 matches

by YFT_CBSD
February 3rd, 2023, 5:06 am
Forum: Tools
Topic: Deconcatenation of CSDBE Files
Replies: 12
Views: 10106

Re: Deconcatenation of CSDBE Files

Hi It's working , thank you so mcuh. Just a follow-up question, total_cases = countcases(POP_DICT); how_many_files = total_cases / 10; I want to set the number in the total cases is it possible? Thanks Example: I only want 200 cases out of 1000. so it wil be 200/10 . Tried some random stuff but it a...
by YFT_CBSD
January 27th, 2023, 3:51 am
Forum: Tools
Topic: Deconcatenation of CSDBE Files
Replies: 12
Views: 10106

Re: Deconcatenation of CSDBE Files

Yup, tried some global variable. but still cant figure it out. // in the level preproc or postproc if inc(case_counter) >= number_cases_per_10_mb then <-- in this if i use a variable(example CITY) then if CITY = 1, i dont get it how this code count the cases which is >= number_cases_per_10_mb. // se...
by YFT_CBSD
January 26th, 2023, 10:10 pm
Forum: Tools
Topic: Deconcatenation of CSDBE Files
Replies: 12
Views: 10106

Re: Deconcatenation of CSDBE Files

I have an error on case_counter saying is not a declared variable.

or did i miss something out?

Thanks again.
by YFT_CBSD
January 26th, 2023, 1:22 am
Forum: Tools
Topic: Deconcatenation of CSDBE Files
Replies: 12
Views: 10106

Re: Deconcatenation of CSDBE Files

Thanks for this.

Additional question:

How can i automate it into 10case per csdb? and if possible random selection.

Thanks again.
by YFT_CBSD
January 23rd, 2023, 4:18 am
Forum: Tools
Topic: Randomize Selection of Case ID
Replies: 2
Views: 2978

Re: Randomize Selection of Case ID

Thanks sir.

This is appreciated.
by YFT_CBSD
January 22nd, 2023, 9:32 pm
Forum: Tools
Topic: Randomize Selection of Case ID
Replies: 2
Views: 2978

Randomize Selection of Case ID

Hello,

I want to randomize the selection of CASE ID, is there a way ? so i wouldn't randomize by my self.

Example.

I have 1000 case id and i want to generate 100 random case id in a single csdb.

Thanks.
by YFT_CBSD
January 17th, 2023, 8:47 pm
Forum: Tools
Topic: Deconcatenation of CSDBE Files
Replies: 12
Views: 10106

Deconcatenation of CSDBE Files

Hello,

Is there a way to deconcatenate a csdbe into a per case csdbe?

Example

I have a csdbe containing 100cases and i want it to be 1 csdbe file per case id.
Im currently using skip case but it is time consuming, is there a way to automate or make it faster?

Thanks
by YFT_CBSD
January 3rd, 2023, 9:52 pm
Forum: Other
Topic: Merging of 2 CSDBE Files
Replies: 7
Views: 24041

Re: Merging of 2 CSDBE Files

Anther option would be to:

1) Load B_CSDBE.
2) Store the Section F data in temporary variables.
3) Load A_CSDBE.
4) Copy the data from the temporary variables back to Section F.

What tool will i use in this case?
by YFT_CBSD
January 3rd, 2023, 12:38 am
Forum: Other
Topic: Merging of 2 CSDBE Files
Replies: 7
Views: 24041

Merging of 2 CSDBE Files

Hello i'd like to ask if this screnario is possible:

A and B contatins the same CASE ID
A_CSDBE contains the data from section A-E
B_CSDBE contains the data section F

i want to merge the both files. is it possible?
Outcome will contain the data from Section A-F.
if yes. How?