Hi,
First i am sorry for my bad english.
I have few below formatted records in a data set.
Code:
ID Name street
1234 kamal,atn 12 th st
1235 john,axy 13 th st
1236 mark,vell 14 the st
in the above Name starting at 30th position. could any one help me in arrainging the above data in below format. Name data should be reversed using comma (,) .
Code:
1234 atn kamal 12 th st
1235 axy john 13 th st
1236 Vell mark 14 the st
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
You can use a DFSORT job like the one below to do what you asked for. You'll need z/OS DFSORT V1R5 PTF UK90007 or DFSORT R14 PTF UK90006 (April, 2006) in order to use DFSORT's PARSE and SQZ functions. If you don't have the April, 2006 PTF, ask your System Programmer to install it (it's free). For complete details on all of the new DFSORT and ICETOOL functions available with the April, 2006 PTF, see:
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
here I dont have Iceman utility. Can we do this using sort utility only ?
I don't know what you mean by this statement. PGM=ICEMAN and PGM=SORT are just equivalent ways of invoking the sort product at your site (DFSORT, Syncsort, CA-SORT). If DFSORT is the sort product at your site, then the job will work providing you have the April, 2006 PTF installed. Syncsort and CA-SORT do not support the PARSE or SQZ functions, so you won't be able to use my job if you have one of those sort products instead of DFSORT.
I'm a DFSORT developer. DFSORT, Syncsort and CA-Sort are competitive products. I'm happy to answer questions on DFSORT and DFSORT's ICETOOL, but I don't answer questions on the other products.