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

Mention the guidelines to write a structured cobol program?

1085


What do you understand by psb and acb?

1115


Write a program to enter and display the names of students in a class using the occurs clause.

1201


What is comp-1 and comp-2?

1225


What kind of error is trapped by on size error option?

1227


Which Search verb is equivalent to PERFORM…VARYING?

1038


What is amode(24)?

1226


What is an in line perform? When would you use it? Anything else you wish to say about it.

1069


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1427


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

2528


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3257


What are the cobol coding sheets?

1258


What are the different open modes available in cobol?

1183


What type of SDLC u followed? Why?

1994


Difference between array and sub-script ?

1653