Hi,
I have a requirement for which i have to do right justified.
e.g
I have a field say NAME of Field length 10 as charachter
which having the data content
Code:
"XXXXXX "
"YYY "
"RRRRRRR "
now i want the O/P file having that field as
Code:
" XXXXXX"
" YYY"
" RRRRRRR"
Can you do this kind of indentation using SYNCSORT/ DFSORT.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
You can do this with the following DFSORT job using the new IFTHEN feature available with z/OS DFSORT V1R5 PTF UQ95214 or DFSORT R14 PTF UQ95213 (Dec, 2004). Syncsort does NOT support IFTHEN, so you can't use this job with Syncsort.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
You can now do this much more easily with the new JFY function available with z/OS DFSORT V1R5 PTF UK90007 or DFSORT R14 PTF UK90006 (April, 2006) as shown by the DFSORT job below. For complete details on all of the new DFSORT and ICETOOL functions available with the April, 2006 PTFs, see:
If I try the JCLs mentioned above then they are working alright. However if I give a Dataset for my SORTIN then I am getting errors. I am sure that I am missing on a very small thing. Donno what ??????