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
 

 

Need data from VB file to a VB file from particular position

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

New User


Joined: 22 Nov 2007
Posts: 83
Location: Chennai

PostPosted: Tue Mar 18, 2008 2:00 pm    Post subject: Need data from VB file to a VB file from particular position
Reply with quote

Hi All,

I have a PS file (VB) of 1000 byte length. I need an output file of PS file(VB) length of 400 bytes. In that the data should be from the input file from the position 700 - 1000 i.e 300 bytes from the input file to an output file of 400 bytes length.

Thanks
Agni.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


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

PostPosted: Tue Mar 18, 2008 9:26 pm    Post subject:
Reply with quote

I assume you aren't counting the RDW in positions 700-1000 so they should really be positions 704-1004. You would, of course, need an RDW in the output records, so the length would be 4 more than you've said.

Quote:
the data should be from the input file from the position 700 - 1000 i.e 300 bytes from the input file to an output file of 400 bytes length.


Huh? You want 300 bytes from the input file but the output file should be 400 bytes. Do you want to pad 300 byte records with 100 bytes of blanks? Or do you actually want 300 bytes output records and an LRECL for the output data set of 400?

Please describe what you want more clearly.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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