I have one GDG.
Everyday One new version is being created.Now I want to
split this created version in different files each having
1000 records.
Here Problem is I don't know How many records will be there
in new version of GDG?
that's why I don't know How many Out files we need to use .
Interesting??????????????
Answer Posted / shridhar
STEP001 : Selcopy/utility to count no of records in GDG.
Just mention GDG base in input to include all versions.
STEP002 : REXX step. define a stem of 1000. read input
batch of 1000 records or if not 1000 then for actual count.
Alloc a new file dynamically. Write these no of records.
Reduce actual count by no of records written.
Repeat procedure untill no of records <= 0.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the jcl exec statement?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
write a jcl to execute a job by 7:00 am on jan 20,1986?
how to run batch program without jcl?
what JCL Procedures?
Explain the function of dd disp parameter?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
how you will the direct the data to spool using sysout option?
When output dataset space is required, what quantity categories are used?
In sms datasets, what is the function of the dd mgmtclas keyword?
Explain the job statement in jcl?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What are the rules employed while naming the steps in a job?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You