- DASWCB64 is the COBOL Copybook layout used by COBOL programs (both CICS and Batch) to pass the values between the caller and the Assembler Subroutine.
- DASWPB64 is a sample of the COBOL code used to set up the data values and CALL the Assembler subroutine for conversion in both directions.
Hi, I'm interested to use a routine similar to DASSXB64. The flow I would implement is quite different. Inbound flow (FROM64), in DASSXB64, does apply "FX" to an inbound ascii file to obtain the original ascii file, then does apply A2E to convert it in EBCDIC ccsid. I need to make E2A before apply "FX", because my inbound record is EBCDIC.
Similarly, in the "outbound flow" (TO64), in DASSXB64 it does apply firstly the conversion E2A to obtain an ascii file where to use "TX" to make base64 convertion. I need first to use "TX" then convert with A2E. My personal know how on assembler and BASE64 logic/structures is not so good to easily change DASSXB64: may I ask for this change to somebody who wishes to give me this help, pls? May be Derek?
I thank you very much for any kind answer, tks. Franco
Could you use gsk_encode_base64 for this? I guess this wouldn't do the EBCDIC->ASCII part. I would think, however, they you'd only need the code page conversion for text data where you wouldn't need BASE64 anyway.