Hi there... this is my first post!
Is there any way to read or write RECFM=U datasets from COBOL? I can't find any info about it in my COBOL book or online.
Read or write RECFM=U datasets from COBOL
-
- Posts: 21
- Joined: Tue Nov 13, 2007 11:53 pm
- Skillset: I received an email that i have been registered and approved but the username and password you sent me are not working. I tried to find a way to contact you but I was not able to, and the email says "donotreply".
- Referer: web search
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: RECFM=U
Hello Tzadik and welcome to the forums,
What data do you want to read that is recfm=u? This is mostly used for loadlib members and some proprietary uses (which have supporting utility code.
What data do you want to read that is recfm=u? This is mostly used for loadlib members and some proprietary uses (which have supporting utility code.
Hope this helps,
d.sch.
d.sch.
Re: RECFM=U
Yes, just specify Recording Mode U (Fixed or Variable). The records can be either fixed-length or variable-length. However, there is only one record for each block. There are no record-length or block-descriptor fields.Tzadik Vanderhoof wrote:Is there any way to read or write RECFM=U datasets from COBOL? I can't find any info about it in my COBOL book or online.
-
- Posts: 21
- Joined: Tue Nov 13, 2007 11:53 pm
- Skillset: I received an email that i have been registered and approved but the username and password you sent me are not working. I tried to find a way to contact you but I was not able to, and the email says "donotreply".
- Referer: web search
Re: RECFM=U
Thanks... it's for processing a binary file received via FTP
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: RECFM=U
Hello,
How was the binary file created?
If the source of the data was unix or win-based, you may have more "opportunities" than simply reading the file.
How was the binary file created?
If the source of the data was unix or win-based, you may have more "opportunities" than simply reading the file.
Hope this helps,
d.sch.
d.sch.