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 / santy
by using IDCAMS utility u can do this.
//JOBNAME JOB ,, Notify=User_id
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//INDATA DD DSNAME=DATA1
//OUTDATA DD DSNAME=DATA2
//SYSIN DD *
REPRO
INFILE(INDATA) OUTFILE(OUTDATA)
START(0) SKIP(100)
/*
Is This Answer Correct ? | 7 Yes | 8 No |
Post New Answer View All Answers
how do you reference the esds vsam file formats from cobol programs
What is the difference between a binary search and a sequential search what are the pertinent cobol?
example for sub strings ? and refernce modifications whit output pls
What are literals?
What are the cobol coding sheets?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is a SSRANGE and NOSSRANGE?
What is the local-storage section?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
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...)
What is the use of intialize verb?
How do you define a variable of comp-1 and comp-2?
How do define dynamic array in cobol.
What are the various section in data division and briefly explain them.
How you can characterize tables in cobol?