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 / selva

SORT FIELD=COPY, SKIPREC=200 (OR SOME MORE RECORDS),
STOPAFT=100

will skip first 200 records, the correct option is

SORT FIELD=COPY,STOPAFT=100

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4121


how do you reference the variable unblock file formats from cobol programs

1281


How do you define a variable of comp-1 and comp-2?

1138


) how do u code after getting data?

2077


Are you comfortable in cobol or jcl?

988


What are the different types of condition in cobol and write their forms.

1065


How to remove 2 duplicate records and copy only one using job control language?

1171


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

1078


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1224


how can i see junk values in dclgen or in hostvariable of comp ?

2935


what is the use of outrecord?

2157


how do you reference the ksds vsam file formats from cobol programs

1126


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

1362


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

1178


What are the various section in data division and briefly explain them.

1112