batch export
Posted: March 9th, 2022, 5:06 am
Dear Sir,
Do we have an option to export many similar structure file to the same "Export to" file so that ,all the files are merged when executing them in Spss or stat together , or example . I tried it but failed to get the desired result.
set behavior() export (SPSS,subItemOnly,ANSI);
For rec_occ in C_TRAINING_OF_TRAINERS_COURSE1 do
export to xrec03
rec_type ("99")
Case_id(UNIQUE_ID,Region,City,sub_city),COURSE_01, C_TRAINING_OF_TRAINERS_COURSE1;
Enddo;
For rec_occ in C_TRAINING_OF_TRAINERS_COURSE2 do
export to xrec03
rec_type ("99")
Case_id(UNIQUE_ID,Region,City,sub_city),COURSE_02, C_TRAINING_OF_TRAINERS_COURSE2;
Enddo;
Do we have an option to export many similar structure file to the same "Export to" file so that ,all the files are merged when executing them in Spss or stat together , or example . I tried it but failed to get the desired result.
set behavior() export (SPSS,subItemOnly,ANSI);
For rec_occ in C_TRAINING_OF_TRAINERS_COURSE1 do
export to xrec03
rec_type ("99")
Case_id(UNIQUE_ID,Region,City,sub_city),COURSE_01, C_TRAINING_OF_TRAINERS_COURSE1;
Enddo;
For rec_occ in C_TRAINING_OF_TRAINERS_COURSE2 do
export to xrec03
rec_type ("99")
Case_id(UNIQUE_ID,Region,City,sub_city),COURSE_02, C_TRAINING_OF_TRAINERS_COURSE2;
Enddo;