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 / madhuri tungal
Use IDCAMS program.
//.........JOB........
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPRO INDATASET(INPUT FILE) OUTDATASET(OUTPUT FILE)
SKIP(0) COUNT(100)
/*
Is This Answer Correct ? | 37 Yes | 2 No |
Post New Answer View All Answers
What is length is cobol?
What are 77 levels used for?
how do you reference the fixed unblock file formats from cobol programs
What is difference between static and dynamic call in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
For rewrite, why is it mandatory that file needs to be opened?
Write a program to explain size error.
What are declaratives and what are their uses in cobol?
How do you reference the following file formats from cobol programs?
What are the rules of the move verb?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Write a program to enter and display the names of students in a class using the occurs clause.
How do you differentiate between cobol and cobol-ii?
How to print 10 to 1 if the input have only 10 digit number?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.