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
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What type of SDLC u followed? Why?
When is inspect verb is used in cobol?
What are the different data types in cobol?
What is the problem of ordered sequential files access?
In COBOL programming, what is PERFORM? What is VARYING?
what is amode(24), amode(31), rmode(24) and rmode(any)?
what happens if parmparameter passes zero bytes to the program
How to print 10 to 1 if the input have only 10 digit number?
Describe the cobol database components?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do define dynamic array in cobol.
Discuss about changing dataset name in proc.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)