Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

OUTREC fill bytes restants

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
josessegura

New User


Joined: 12 Feb 2015
Posts: 6
Location: México,D.F.

PostPosted: Thu Apr 16, 2015 12:40 am    Post subject: OUTREC fill bytes restants
Reply with quote

Hi,

anyone of you knows the parameter, which allows
automatically fill the remaining fields on a outrec to DFSORT .
look in the manuals ibm , but I did not find solution.

example :

LRECL = 926

Outrec length = 900

The remaining 26 bytes must be filled automatically by X'00 '

thx
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Thu Apr 16, 2015 1:02 am    Post subject: Reply to: OUTREC fill bytes restants
Reply with quote

If your records are fixed-length
Code:

  INREC OVERLAY=(901:26Z)


If your records are variable-length what do you want to do?
Back to top
View user's profile Send private message
josessegura

New User


Joined: 12 Feb 2015
Posts: 6
Location: México,D.F.

PostPosted: Thu Apr 16, 2015 10:04 pm    Post subject: Re: Reply to: OUTREC fill bytes restants
Reply with quote

Bill Woodger wrote:
If your records are fixed-length
Code:

  INREC OVERLAY=(901:26Z)


If your records are variable-length what do you want to do?


I am migrating CA -Sort to DFSORT , and found cards that outrec bytes are less than the defined in SPACE , CA fills these MISS bytes , and DFSORT does not.

thx
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Thu Apr 16, 2015 11:44 pm    Post subject: Reply to: OUTREC fill bytes restants
Reply with quote

Post the sysout from a CA-SORT step and the output from your DFSORT step, please, and we can see.
Back to top
View user's profile Send private message
josessegura

New User


Joined: 12 Feb 2015
Posts: 6
Location: México,D.F.

PostPosted: Fri Apr 17, 2015 12:06 am    Post subject: Re: Reply to: OUTREC fill bytes restants
Reply with quote

Bill Woodger wrote:
Post the sysout from a CA-SORT step and the output from your DFSORT step, please, and we can see.


The output is as follows:

Code:
            SORT FIELDS=(50,12,CH,A)                                           
            INCLUDE COND=(8,2,CH,EQ,C'FE')                                     
            OUTFIL FNAMES=SORTOUT1,                                             
                  OUTREC=(50,12,62,5,152,30,182,5,8,2,187,3,190,1,             
                          191,1,192,1,193,1,194,1,195,1,196,2,198,2,           
                          200,8,208,2,15,1,210,10,474,4,478,1,479,7,           
                          486,30,220,15,235,2,237,3,240,5,245,1,246,           
                          1,247,2,249,110,359,110,469,5,516,47,563,279,         
                          22,3,25,3,10,2)                                       
ICE201I H RECORD TYPE IS F - DATA STARTS IN POSITION 1                         
ICE222A 0 718 BYTE FIXED RECORD LENGTH IS NOT EQUAL TO 926 BYTE LRECL FOR SORTOU
ICE751I 0 C5-K62149 C6-K90026 C7-K58148 C8-K67572 E4-K58148 E7-K70685           
ICE052I 3 END OF DFSORT                                                         


The input and output has a length of 926
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Apr 17, 2015 2:43 pm    Post subject:
Reply with quote

If you add the lengths of the fields you are placing in OUTREC, you'll see they add to 718 - which is what DFSORT is reporting in the ICE222A message. If you change the last line as Bill suggested you'll get the record padded as required.
Code:
22,3,25,3,10,2,901:26Z)


Garry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORT- outrec ram_vizag DFSORT/ICETOOL 10 Tue Sep 27, 2016 12:50 am
No new posts OUTREC FILELDS FAILS WITH ICE126A 2 ... balaji81_k DFSORT/ICETOOL 8 Sat Jul 02, 2016 1:22 am
No new posts OUTREC RDW NOT INCLUDED krsenthil85 SYNCSORT 10 Fri May 06, 2016 3:22 am
No new posts FIXED BIN (31) and FIXED BIN (63) - H... sundarkudos PL/I & Assembler 4 Thu Nov 05, 2015 1:11 pm
No new posts OUTREC on OUTFIL error rocky_balboa DFSORT/ICETOOL 4 Thu Aug 27, 2015 10:26 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us