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

Copy from FB-125 to VB-173. Is it possible if yes then how.


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

New User


Joined: 17 Mar 2006
Posts: 8

PostPosted: Tue Mar 28, 2006 10:37 am
Reply with quote

Hi could any one solve my problem. My problem is,
"There is a sequential file with record length of 125 and record format is fixed. and i want to copy the record from this file to another file with record length of 173 and format is variable" Is it possible if yes then how.


regards
Karasi
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Tue Mar 28, 2006 3:02 pm
Reply with quote

Karasi,

try this.........
Actually this JCL is for converting fixed length datasets to variable length datasets.
Code:

//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=input fixed length dataset,DISP=SHR
//VBOUT DD DSN=output variable length dataset ,
//         DISP=(NEW,CATLG,DELETE), UNIT=3390,
//         SPACE=(CYL,(5,5)), LRECL=173
//SYSIN DD *
  OPTION COPY
  OUTFIL FNAMES=VBOUT,FTOV
/*


corrections welcomed..........

Thanks,
Rajesh
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 28, 2006 8:47 pm
Reply with quote

For more information on converting FB to VB with DFSORT, see:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst03.html#t09
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 VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top