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 Copy set of records based on condition krish.deepu SYNCSORT 2 Thu Mar 08, 2018 11:39 am
No new posts Image copy after Online reorganization. lind sh IMS DB/DC 0 Tue Jan 30, 2018 9:58 pm
No new posts Copy Specific Groups V S Amarendra Reddy SYNCSORT 10 Thu Jan 11, 2018 1:16 am
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm

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