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

DFSORT OUTREC Question


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

New User


Joined: 10 Mar 2005
Posts: 33
Location: Lewiston

PostPosted: Tue Nov 21, 2006 3:44 pm
Reply with quote

I'm confused by what this statement will do:

Code:

  OUTFIL OUTREC=(1,48,67,1,85,5,PD,EDZ9=('99999999'), 
        90,5,PD,EDZ9=('99999999'),85X),CONVERT
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: Tue Nov 21, 2006 9:53 pm
Reply with quote

It builds an FB output record with the following fields from each VB input record:

1,48 - input positions 1-48 (includes the RDW in positions 1-4)

67,1 - input position 67

85,5,PD,EDZ9=('99999999') - 8 digits with leading zeros converted from the PD value in input positions 85-89

90,5,PD,EDZ9=('99999999') - 8 digits with leading zeros converted from the PD value in input positions 90-94

85X - 85 blanks
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 Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
No new posts Question for file manager IBM Tools 7
Search our Forums:

Back to Top