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

i want to copy a vb file of length 256 to fb file of length


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

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Sun Aug 31, 2008 7:39 pm
Reply with quote

Hi,

I have an issue here.

i want to copy a vb file of length 256 to a fb file of lenth 900.

i have used the follwoing code:

Code:

//SYSIN DD *
  SORT FIELDS=COPY
  OUTREC FIELDS=(1:5,256),VTOF
/*


I get an error with these control statements.

please help in soolving the issue.

Thanks in advance.

Kiran
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: Sun Aug 31, 2008 9:03 pm
Reply with quote

The correct control statements for what you say you want to do would be:

Code:

  SORT FIELDS=COPY                   
  OUTFIL BUILD=(1:5,252,900:X),VTOF   
Back to top
View user's profile Send private message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Mon Sep 01, 2008 10:26 am
Reply with quote

It has worked.

Thanks for the help.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top