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


Please Help Members By Posting Answers For Below Questions

Which is not true about evaluate statement

1586


Write the code to count the sum of n natural numbers.

701


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

2661


What is the difference between binary search and sequential search?

643


What are the access modes of START statement?

719






What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


Explain about different table spaces.

650


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


HOw can I get the negative sign while deduct high value from low value

1790


Which Search verb is equivalent to PERFORM…VARYING?

687


Differentiate between structured cobol programming and object-oriented cobol programming.

669


Define cobol?

864


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


Why did you choose to work with ibm mainframe cobol programming?

631