I am running an external cobol routine that resides in an xl from quick passing a buffer called cv2-parms
This buffer is 166 bytes and is set before the routine is called
TEMP cv-8 CHARACTER*8
TEMP cv-118 CHARACTER*118
TEMP cv-40 CHARACTER*40
In the postfind procedure
LET cv-8 = " F "
LET cv-118 = ""
LET cv-40 = action-cd
LET cv2-parms = cv-8 + cv-118 + cv-40
DO EXTERNAL cv3decrypt PASSING cv2-parms
After the external the buffer should hold certain data to be used by powerhouse.
The cobol programmer tells that when the buffer is read by the cobol routine it contains what look like control characters.
Can anyone give me some advice please.
Hi,
I would try replacing action-cd with a literal and see if the value is being passed correctly. If so, then it's the contents of action-cd that are messing things up - you could perhaps try to truncate or pack it to see if that makes a difference?
MF.