Need to copy data from FB to VB.



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

Need to copy data from FB to VB.

Postby kimir » Sun Jan 08, 2012 5:07 pm

Hi,
I need to copy data from 3rd position till the end of a FB file (Lrecl 31002) to VB file(Lrecl 30140). However the job was not successful. So Ii tried copying it to a FB file only.

The jcl is:
//JS001    EXEC PGM=SYNCSORT   
//SORTIN   DD  DSN=S51.SAMPLE.QUERY.OUT16,DISP=SHR
//SORTOUT  DD  DSN=Sortout file name,
//             DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,
//             DATACLAS=STANDARD
//SYSOUT   DD  *                                                 
//SYSIN    DD  *                                           
      SORT FIELDS=COPY                                     
      OUTREC FIELDS=(1:3,30140)


Can someone pls help me in copying the data.If the conversion to VB happens in the same job, it will be great.

Thank You,
Regards,
Kimir.
kimir
 
Posts: 6
Joined: Sun Oct 23, 2011 7:55 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Need to copy data from FB to VB.

Postby MrSpock » Sun Jan 08, 2012 6:15 pm

You'll need to use the FTOV parameter of an OUTIL statement. Here's a similar topic:

syncsort-synctool/topic5831.html?hilit=FTOV
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post