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

When DD-MM-YYYY is the first field of input record,
Then use the below code,

//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(1:1,2,
3:C'/',
4:4,2,
6:C'/',
7:7,4)
/*
//
When others,
Change the position numbers occordingly.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the various parameters utilized in the creation of a gdg?

1209


Explain the purpose of dd dummy statement?

1272


Which dd parameters are required?

1242


What is the function of the dd dcb keyword?

1394


define cond parameter in jcl?

1322


what is the use of IEBGENER utility?

1223


What is the function of the steplib dd statement?

1247


Where can program checkpoints be stored for use in a restart?

1483


In job processing, what happens in execution stage?

1276


Explain how can the attributes of one sms dataset be copied to another dataset?

1261


Is automatic restart possible in jcl?

1274


What are the parameter we cannot use in procedure?

1190


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

11755


What do you understand by jcl?

1107


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

1123