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
Write a program that uses move corresponding.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between PIC 9.99 and PIC9v99?
What rules are to be followed while using the corresponding options?
Why did you choose to work with ibm mainframe cobol programming?
What rules are followed by the search verb.
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
how can i see junk values in dclgen or in hostvariable of comp ?
What is rmode(any) ?
How you can characterize tables in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Which Search verb is equivalent to PERFORM…VARYING?
What are all the divisions of a COBOL program?
how do you reference the variable block file formats from cobol programs
In COBOL, what is the different between index and subscript?