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

What do you understand by the term job time – out and how can you overcome that?

967


whats the diff bw the evaluate also and and?

2291


what is the purpose of coding class parameter in job statement?

1202


How to pass data to a program that is coded in an exec statement?

1267


what is a jcl?

1086


How can the submitting users racf authority be overridden in a job stream?

1214


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

1171


How can a jobs execution priority be modified?

1231


How can return codes be tested before execution of a job step?

1425


what are the statements that are not valid to be included in an include statement?

1328


Explain dd statement in jcl?

1054


Give the syntax of job specifying jcl statement.

1085


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1213


Name a few IBM utility programs, and explain its function.

4898


What parameter directs the output of the job log dataset?

1212