i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??
Answer Posted / felix
i think, we can use OUTLIM parameter.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How to alter the parameters for the existing gdg?
Is it possible to code instream data in a PROC?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what is a jcl?
What is the function of dd name parameter with a 2 part structure; audit.report?
What does a disposition of (new,catlg,keep) for a dsn mean?
what is use of dcb parameter in dd statement?
Explain the hierarchy levels in jcl?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Explain how can values be passed from the job stream to an executable program?
Explain how can an in-stream dataset be terminated?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
How does jcl act on code(if you take a cobol program)?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
what is the difference between JES3 and JES2?