IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Converting PD to ZZZ9.9999 using single sort card


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Fri Jul 02, 2010 10:59 am
Reply with quote

Hello,

I want to convert the following format :-

From :

Code:
00596
0039C


To :

Code:
5.3996


How can i do this using single sort card?

I tried using below:-

Code:
OUTREC FIELDS=(1:5,5,PD,TO=ZD,LENGTH=9,
                           EDIT=(IIIT.TTTT))       


But this do not work

Thank You,
Rajat
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Fri Jul 02, 2010 9:02 pm
Reply with quote

Rajat,

You can't use TO=ZD and EDIT together. You just want EDIT in your case:

Code:

  OPTION COPY                 
  OUTREC FIELDS=(1:5,5,PD,EDIT=(IIIT.TTTT))     
Back to top
View user's profile Send private message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Sat Jul 03, 2010 3:34 am
Reply with quote

Thanks a lot Frank icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top