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
 
Converting from VB to FB format

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Converting from VB to FB format
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

Moderator Team Head


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

PostPosted: Wed Mar 08, 2006 7:53 pm    Post subject: Re: Converting from VB to FB format
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 Moderator


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

PostPosted: Wed Mar 08, 2006 9:58 pm    Post subject:
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:

http://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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Convert rows and column into JSON for... Dinesh Manivannan DB2 2 Sun Sep 03, 2017 6:50 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am

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