Convert COBOL input to different format.

IBM's Sort Product, ICETOOL, ICEMAN and ICEGENER.
Post Reply
Rahul Mahajan
New Member
Posts: 1
Joined: Sun May 08, 2016 9:46 am

Convert COBOL input to different format.

Post by Rahul Mahajan »

Hi.

We get a file from a different sever (which I'm not sure if it is windows or some other mainframe) but it's copied to our mainframe as a sequential file as a VB file. LRECL is 300.

We need to process this file through a COBOL program. The COBOL program can process the FB file. I want to convert the VB to fixed length file.

To do that, I used IEBGENER but it did not wor out and I got the error "Conflicting DCB Parameters". Can a sort function do this?
User avatar
Akatsukami
Global Moderator
Global Moderator
Posts: 122
Joined: Tue Oct 20, 2015 3:20 am
Location: Bloomington, IL
Contact:

Re: Convert COBOL input to different format.

Post by Akatsukami »

Why don't you just write the program to read a VB data set? We're not talking rocket science here.
"I come to the conclusion that, men loving according to their own will and fearing according to that of the prince, a wise prince should establish himself on that which is in his own control and not in that of others." -- Niccolò Machiavelli
User avatar
Magesh_j
Registered Member
Posts: 33
Joined: Sun Sep 04, 2016 8:50 pm

Re: Convert COBOL input to different format.

Post by Magesh_j »

Rahul Mahajan,

If you catalog a dataset with FB 300 and allow the external server to transfer data into it, then it would be in fixed.

Any file you are transferring without providing the format to mainframe will get cataloged as VB.

Thanks
Magesh
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1885
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Convert COBOL input to different format.

Post by Robert Sample »

Any file you are transferring without providing the format to mainframe will get cataloged as VB.
Maybe, maybe not. DFSMS can be used to set defaults for fixed data set allocation. Also, the FTP default is variable but that can be changed by the site, not to mention the value can be overridden by the FTP QUOTE SITE (or QUOTE LOCSITE) command to fixed instead of variable. So stating that the data set will be catalogued as VB is not necessarily a true statement as the actual default will depend upon the site, the file transfer method, and possibly the DFSMS defaults.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM DFSort, ICETOOL, ICEMAN, ICEGENER.”