Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Copy from FB-125 to VB-173. Is it possible if yes then how.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Record length chalge
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    Post subject:
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 Moderator


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

PostPosted: Tue Mar 28, 2006 8:47 pm    Post subject:
Reply with quote

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

http://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    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 XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us