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 is not true about evaluate statement
Write the code to count the sum of n natural numbers.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between binary search and sequential search?
What are the access modes of START statement?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Explain about different table spaces.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
HOw can I get the negative sign while deduct high value from low value
Which Search verb is equivalent to PERFORM…VARYING?
Differentiate between structured cobol programming and object-oriented cobol programming.
Define cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Why did you choose to work with ibm mainframe cobol programming?