IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Converting from VB to FB format


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Wed Mar 08, 2006 7:18 pm
Reply with quote

Hi,

We know that to conver VB file to a FB file we use the option CONVERT in control card........I need a clarification on this.

if my input record lengths are like below.
120
300
200
150

and I am converting this VB file to a FB file of record length 300...

Now my doubt is if we convert the VB file to FB file what will be padded if the record length is less then the record length of FB file......

say.......

1. for first record what will be inserted for rest 180 bytes as the record length is only 180
2. no need
3. what will be inserted for rest 100 bytes as the record length is only 200
4. what will be inserted for rest 150 bytes as the record length is only 150

I hope you understood the question.................


Please let me know.........

thx in advance....

pavan
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 08, 2006 7:53 pm
Reply with quote

You have the option of using the VLFILL= parameter. Normally, you can use VLFILL=X'40' to fill the fields with blanks (hex '40'). Since VLFILL=X'40' is the default, you can omit it. Otherwise, you can choose any other hex value of your choice.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Wed Mar 08, 2006 9:58 pm
Reply with quote

Note that you can use VLFILL=byte where byte can be any one-byte character constant (e.g. C'*') or any one-byte hex constant (e.g. X'00').
C' ' (X'40') is the default if you don't specify VLFILL=byte.

For more information on DFSORT's VTOF and VLFILL parameters, see:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst01.html#t11
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Thu Mar 09, 2006 9:56 am
Reply with quote

Hi all,

Thank you...................


pavan
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts InfoSphere OPTIM CSV ouput vs DSNTIUA... IBM Tools 3
Search our Forums:

Back to Top