MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

converting VB to FB

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
anaik
Beginner


Joined: 31 Jan 2007
Posts: 20
Topics: 6

PostPosted: Thu Sep 06, 2007 10:35 am    Post subject: converting VB to FB Reply with quote

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
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Thu Sep 06, 2007 10:45 am    Post subject: Reply with quote

A simple read/write in application code, even easier with either sort product....
Which would be your choice?
Back to top
View user's profile Send private message
anaik
Beginner


Joined: 31 Jan 2007
Posts: 20
Topics: 6

PostPosted: Thu Sep 06, 2007 10:45 am    Post subject: Reply with quote

I am trying to use IBM utility IEBGENER to do the same. Will update if i need anyhelp
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Thu Sep 06, 2007 10:52 am    Post subject: Reply with quote

anaik,

Please SEARCH before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=5336

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
yugee
Beginner


Joined: 17 Sep 2005
Posts: 25
Topics: 8

PostPosted: Fri Oct 12, 2007 12:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group