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
Which Search verb is equivalent to PERFORM…VARYING?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is a report item?
Why did you choose to work with ibm mainframe cobol programming?
Which mode is used to operate the sequential file?
i need a small 3d program using inline and outline.
What are declaratives and what are their uses in cobol?
Name the divisions, which are available in a cobol program?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is a scope terminator give example?
What is link edit in cobol?
What is the difference between PIC 9.99 and PIC9v99?
What do you understand by psb and acb?