Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

1545


explain sorting techniques in cobol program?

1247


How arrays can be defined in COBOL?

1298


How do you reference the fixed block file formats from cobol programs

1289


what is search and searchall?what is the diffrence between them?give an best example?

6929


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2493


Why occurs cannot be used in 01 level in COBOL?

1206


How do you differentiate between cobol and cobol-ii?

1284


What is the difference between next sentence and continue in cobol programing language?

1278


What is the difference between comp and comp-3 usage?

1260


What is redefines clause in COBOL?

1351


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2518


How are the next sentence and continue different from each other?

1340


how to refer the data field?

2324


Explain about different table spaces.

1155