i want to use only first 100 records from a file.plz tell
me how to write JCL for this(for read,copy,write
operations).plz give me details of all posible JCL
utilities?
Answer Posted / santy
by using IDCAMS utility u can do this.
//JOBNAME JOB ,, Notify=User_id
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//INDATA DD DSNAME=DATA1
//OUTDATA DD DSNAME=DATA2
//SYSIN DD *
REPRO
INFILE(INDATA) OUTFILE(OUTDATA)
START(0) SKIP(100)
/*
| Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
What is the difference between external and global variables in COBOL?
explain sorting techniques in cobol program?
How arrays can be defined in COBOL?
How do you reference the fixed block file formats from cobol programs
what is search and searchall?what is the diffrence between them?give an best example?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Why occurs cannot be used in 01 level in COBOL?
How do you differentiate between cobol and cobol-ii?
What is the difference between next sentence and continue in cobol programing language?
What is the difference between comp and comp-3 usage?
What is redefines clause in COBOL?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How are the next sentence and continue different from each other?
how to refer the data field?
Explain about different table spaces.