View previous topic :: View next topic |
Author |
Message |
anaik Beginner
Joined: 31 Jan 2007 Posts: 20 Topics: 6
|
Posted: Thu Sep 06, 2007 10:35 am Post subject: converting VB to FB |
|
|
Hello,
i want to convert a VB block file(133) to FB(133). I was thinking of reading the length of each record in VB block file and then inserting blank spaces to make it a FB. Is this approach correct?
Amar |
|
Back to top |
|
|
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Thu Sep 06, 2007 10:45 am Post subject: |
|
|
A simple read/write in application code, even easier with either sort product....
Which would be your choice? |
|
Back to top |
|
|
anaik Beginner
Joined: 31 Jan 2007 Posts: 20 Topics: 6
|
Posted: Thu Sep 06, 2007 10:45 am Post subject: |
|
|
I am trying to use IBM utility IEBGENER to do the same. Will update if i need anyhelp |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
yugee Beginner
Joined: 17 Sep 2005 Posts: 25 Topics: 8
|
Posted: Fri Oct 12, 2007 12:35 am Post subject: |
|
|
This is the simple way of doing it using a SORT:
SORT FIELDS=COPY
OUTFIL VTOF,
OUTREC=(1:5,133) - first 4 bytes in VB will have the dataset information. |
|
Back to top |
|
|
|
|