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...

Hi,
My dataset have multiple records, say 100. I want to start
copy records only after a record contain a specific value
that may be in a specific position. Secondly I want to stop
copying rest records if certain record contains a specific
value. Can it be done using SORT/ICETOOL utilities?

Answer Posted / eswaran

hi,
your dataset have 100 records then u want copy starting
position=25 to ending position=50 then y have copy following way
//FSS129A JOB
//STEP1 EXEC PGM=SORT
//SORTIN DD DSN=NEW1.PS
//SORTOUT DD DSN=NEW2.PS
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=25,STOPAFT=50
/*
//

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you submit a job for execution?

1117


Explain dd statement in jcl?

1135


what is use of dcb parameter in dd statement?

1314


Explain the function of the steplib dd statement?

1143


what happens in execution stage in job processing?

1154


what are JCLLIB and STEPLIB in JCL?

1177


In sms datasets, what is the function of the dd mgmtclas keyword?

1391


What are steplib and joblib? What for they are used?

1239


What are the 2 types of parameters in dd statement?

1165


what JCL Procedures?

1260


Explain in DD statement what is the use of DCB parameter?

1153


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2453


how to compare two datasets without using superce because output is limited to 133 bytes

2113


How would you understand error(execution phase)?

1265


In sms datasets, what is the function of the dd avgrec keyword?

1103