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

Please go thru the below points and let me know how to code
this.
1. Sort the input dataset for the condition : Starting
position is 37,length of the field is 13 based on character
and in the ascending order , starting from position 25
length of 12 ,character and in the ascending order. Use a
temporary dataset to hold the sorted file.
2. Use the temporary file created in the above step as the
input for the next step. The next step is to execute a
program and produce an output file. Use the temporary file
created in the above as work file 1 and the output of the
file to be created in this step work file 2.Also, pass a
parameter to the program that is to be executed in this
step. The parameter should have the current date in
YYYYMMDD format.

For the sake of convenience, you can use the below
Job Name : Sample1
Input DSN : PCABDT11.CABD.TEST.INPUT
Temporary DSN : Sort1
Output DSN : PCABDT11.CABD.TEST.OUTPUT
Program Name : SAMPLE

Thanks in Advance for your response.

Answer Posted / praveen kumar

Anju,,

IN your JCL, where are you using the wrkfile1(step1 output
file) in step2..

does it make any sense...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of the dd keylen parameter?

1153


What is the purpose of dd * statement in jcl?

1270


Which dd parameters are required?

1175


what are the types of abends that occur on job failure? And explain the possible causes of these

1603


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1294


Explain dd statement in jcl?

1116


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5530


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

1375


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2442


what happens in conversion stage in job processing?

1217


Explain the function of dd disp parameter?

1108


in ways data can be passed to a COBOL program from JCL?

1213


how you can direct the data to spool using SYSOUT option?

1452


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1064


what is the difference between JES3 and JES2?

1123