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

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


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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 Developer


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

PostPosted: Tue Mar 18, 2008 9:26 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top