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 have DATE filed like DD-MM-YYYY, So I want output should be
MM/DD/YYYY using JCL?

Can anybody post the answer for above requirement?

Answer Posted / harsha

12345678910
DD-MM-YYYY
Above is the date and column numbers.

//STEP1 EXEC PGM=SORT
// .
// .
// .
OPTION COPY
OUTFILE FNAMES=SORTOUT
OUTREC=(4,2,C'/',1,2,C'/',7,4)

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

1328


can any one plzzzzzz tell the jcl code for creating ps using idcams

11765


define cond parameter in jcl?

1326


How can a jobs execution priority be modified?

1341


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

1303


what are the various stages of job processing?

1345


what is JCL?

1220


What is Cataloged Procedures?

1203


Define concatenating?

1150


Name the statement which can be used to send data to another mvs jes3 node?

1221


how to run batch program without jcl?

11691


What is the function of the steplib dd statement?

1252


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?

1381


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1437


Explain how can values be passed from the job stream to an executable program?

1312