View previous topic :: View next topic
|
Author |
Message |
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
Hi All,
I am receiving data from 3 rd party in BASE 64 (http://www.hcidata.info/base64.htm)format through MQ.
But we need data in EBCDIC format for further processing.
I did googling to convert data form Base64 to EBCDIC format but found assembler reference (http://www.cicsworld.com/node/449), for which I am new.
Is there any way to do this by COBOL? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
certainly yes if You have the skills,
here is a link to base xx encoding document
www.faqs.org/rfcs/rfc3548.html
but I would suggest that such issue be taken to some higher level in the decision/planning chain |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
What is the host for the 3rd party system?
What happens if you FTP a test file from that platform to the mainframe using ASCII transfer?
I'd suggest you create a small file with the values of x'00' - x'ff' and transmit this to the mainframe. This test works well when each record in the test file is the next series. For example,
Code: |
the first record is: x'000102030405060708090a0b0c0d0e0f'
the second rec is: x'101112131415161718191a1b1c1d1e1f'
and so on until: x'f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff' |
After receiving this test file, check the values in the mainframe table.
Reply if any of the conversions are not as expected. |
|
Back to top |
|
|
yogeshwar_ade
Active User
Joined: 31 Aug 2006 Posts: 103 Location: INDIA
|
|
|
|
enrico ,
I gone through the given URL, but it just have details of Encoding format .... But doesn’t have any pointer for conversion using COBOL?
Thanks for Quick Reply. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
as I said You need the skill to implement it Yourself
never said that the link contained the code |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Misunderstood the question. . .
Sorry 'bout that. . .
d |
|
Back to top |
|
|
|