Hi!
In my address file I have a headquarters key which can be equal or different to the unique key.
They are defined as follows in the PF
If I see at the PF listing it seems correct, i.e. I read '00001' (e.g.).
If I CALL a programme to display infos about the headquarters address (in case ADDRKEY NE HDQRTKEY), I do the following:
and in the CALLED HDQRTSMNT
At running, Decimal-data error is shown.
The DUMP print shows me a value like
Of course, in the CALLER the address file is UF and in the CALLED it's IF in the F-specs.
What am I doing wrong?
TIA
Arnaldo
In my address file I have a headquarters key which can be equal or different to the unique key.
They are defined as follows in the PF
Code:
A ADDRKEY 5S 0B A HDQRTKEY 5S 0B
If I CALL a programme to display infos about the headquarters address (in case ADDRKEY NE HDQRTKEY), I do the following:
Code:
C CALL 'HDQRTSMNT' C PARM COMPANY C PARM HDQRTKEY
Code:
C *ENTRY PLIST C PARM COMPANY 30 C PARM HDQRTKEY 5 0
The DUMP print shows me a value like
Code:
HDQRTKEY PACKED(5,0) 0 0 . 'F0F0F0'X
What am I doing wrong?
TIA
Arnaldo
Comment