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

DFSORT Input is in PD format, output is not in PD format


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

New User


Joined: 04 Dec 2006
Posts: 6
Location: Pune,India

PostPosted: Thu Dec 28, 2006 4:40 pm
Reply with quote

Hi all

I have a input file where in Iam summing field at pos 512 byte.
The field is in PD format. and 8 byte in length.

OUTFIL FNAMES=OUT,REMOVECC,NODETAIL,
TRAILER1=(5:C'T',6:TOT=(562,8,PD),
COUNT-2=(LENGTH=6))

While executing the above ICETOOL statements the total in pos 6 in output file is not in PD format.
Is there anyway of editing it.?

Thanks and Regards
Thiru
Back to top
View user's profile Send private message
Neilabh

New User


Joined: 29 Nov 2006
Posts: 8
Location: India

PostPosted: Thu Dec 28, 2006 5:06 pm
Reply with quote

We can use "...... ,TO=PD" ( ... we need to enter parameters for that field there ). It would convert the filed to PD.

Hope this helps.
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: Thu Dec 28, 2006 11:03 pm
Reply with quote

Thirunarayanan ,

You can use these DFSORT control statements:

Code:

   OUTFIL FNAMES=OUT,REMOVECC,NODETAIL,
      TRAILER1=(5:C'T',6:TOT=(562,8,PD,TO=PD,LENGTH=8),
          COUNT-2=(LENGTH=6))
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top