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?
Convert COBOL input to different format.
-
- New Member
- Posts: 1
- Joined: Sun May 08, 2016 9:46 am
- Akatsukami
- Global Moderator
- Posts: 122
- Joined: Tue Oct 20, 2015 3:20 am
- Location: Bloomington, IL
- Contact:
Re: Convert COBOL input to different format.
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
Re: Convert COBOL input to different format.
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
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
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Convert COBOL input to different format.
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.Any file you are transferring without providing the format to mainframe will get cataloged as VB.
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