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

Will I Increase Record length to add two Zeros at the end


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

New User


Joined: 21 Sep 2006
Posts: 15
Location: india

PostPosted: Mon Nov 06, 2006 8:50 am
Reply with quote

If i use Inrec to add two Zeros to the end of my file will i have to increase the record length of my output file correspondingly?
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Nov 06, 2006 12:14 pm
Reply with quote

mull,

Do you wan to add zeroes at the end of the record or the file??
If at end of the record...yes...you need to increase the record length.

~Vamsi
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: Mon Nov 06, 2006 9:25 pm
Reply with quote

mull,

By definition, if you add two bytes of zeros to the end of a record, the record length of that record will increase by 2 bytes (how could it not?).

If that's not what you're asking, then please clarify your question - show the INREC statement you're using and indicate the RECFM and LRECL of your input file.
Back to top
View user's profile Send private message
mull

New User


Joined: 21 Sep 2006
Posts: 15
Location: india

PostPosted: Tue Nov 07, 2006 7:34 pm
Reply with quote

ya got the point
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 Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top