have in 100 records in a file i want to read first 3 records
and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
run a loop from record one to 10
evaluate i/3 if comes even then skip
else write to output file
No Answer is Posted For this Question
Be the First to Post Answer
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What is the significance of addrspc parameter in the exec statement?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
What does S0C4 error mean?
how can handle the s0c4 abend???
How to ALTER the name of a GDG ?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
How to identify in JCL that an input file is empty without reading it?
can a job be submitted through jcl only? is there another way to submit a job?
what does mvs stand for?
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
i need some shortcuts and tso commands can any on ehelp me in these ?