Hi folks,
I have a program that calls a data layer with parameter
that was received from thge JCL by ACCEPT statement:
The select statement in the data layer returns empty.
The same select statement in SPUFI returns the expected records.
I guess that the problem is in the MOVE statement.
What you think ?
Thanks in advance.
I have a program that calls a data layer with parameter
that was received from thge JCL by ACCEPT statement:
Code:
01 WS01-TMP PIC 9(4).
01 WS02-INPUT.
03 WS02-D PIC S9(4) COMP. (SMALLINT IN THE DB TABLE)
01 WS03-OUTPUT.
03 ...
ACCEPT WS01-TMP.
DISPLAY 'WS01-TMP: ' WS01-TMP [COLOR=red]WS01-TMP: 12[/color]
MOVE WS01-TMP TO WS02-D
DISPLAY 'WS02-D: ' WS02-D [COLOR=red]WS02-D: 12[/color]
CALL 'DL' USING WS02-INPUT
WS03-OUTPUT
The select statement in the data layer returns empty.
The same select statement in SPUFI returns the expected records.
I guess that the problem is in the MOVE statement.
What you think ?
Thanks in advance.