Sorting a VB file giving unexpected results

2 posts / 0 new
Last post
Anonymous (not verified)
Sorting a VB file giving unexpected results

I have a VB file, which I am trying to sort. The key starts from 1st position and is of 3 bytes. I am using the following sort card SORT FIELDS=(1,3,CH,A) but I am getting unexpected results, can some one tell me what is wrong. I tried with a FB file and the things worked as expected.

"; ; ; ;
Anonymous (not verified)
well if you want to sort VB

well if you want to sort VB file you have to convert VB to FB by using the control statement OUTFIL FNAMES=FBVB1,FTOV.Usually the Output

fil will be VB file of fixed length that is length of FB plus 4 bytes.to create true VB file without trailing blanks of the input FB File,add VLTRIM=x'40' following FTOV.

Thanks

Swaminathan(Comments taken from book Mainframe Refresher - Muthu)

Log in or register to post comments
Sponsored Listing

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer

Navigation