Guest_imported
New member
- Jan 1, 1970
- 0
Hi !
I have a seqential file that has a few fields that contain data in binary format(they were defined in the program as PIC S9(9) COMP).Which means i cannot see them and read them meaningfully when i browse the data.My client wants this file to be converted so that she can read the binary data also meaning fully while browsing the file.So my task now is to convert the binary data into numric format so that she can read it while browsing and could undestand.
Do we have any cobol functions
(a)that convert binary data into ordinary numeric data
(b)that convert packed data into ordinary numeric data
or do we need to resort to REXX or CLIST ?
So that i will rewrite the file with the numeric data in place of binary one.
Referring to previous messages in this FORUM indicates that there exists a solution in REXX.
My question is
Can we embed the REXX code in a VS COBOL II program?
And if i can what else do i need to do to make this program compile and execute?
OR
Can i give my binary file as input to the REXX exec and create an output file with converted decimal data?
I will appreciate any one who has solution for this.
Regards,
Akondeti
[sig][/sig]
I have a seqential file that has a few fields that contain data in binary format(they were defined in the program as PIC S9(9) COMP).Which means i cannot see them and read them meaningfully when i browse the data.My client wants this file to be converted so that she can read the binary data also meaning fully while browsing the file.So my task now is to convert the binary data into numric format so that she can read it while browsing and could undestand.
Do we have any cobol functions
(a)that convert binary data into ordinary numeric data
(b)that convert packed data into ordinary numeric data
or do we need to resort to REXX or CLIST ?
So that i will rewrite the file with the numeric data in place of binary one.
Referring to previous messages in this FORUM indicates that there exists a solution in REXX.
My question is
Can we embed the REXX code in a VS COBOL II program?
And if i can what else do i need to do to make this program compile and execute?
OR
Can i give my binary file as input to the REXX exec and create an output file with converted decimal data?
I will appreciate any one who has solution for this.
Regards,
Akondeti
[sig][/sig]