Hi,
Firstly I would like to tell you that I know that that version of the Coobol can not attach a new thread to the main thread, like PL/I can do with the ATTACH statement.
BUT I try to test the following situation:
A main program in COBOL calling statically a PL/I routine that:
- attaches a thread ATTACH <another routine name> THREAD(<thread name>)
- waits its end WAIT THREAD (<thread name>)
As far as I can understand the different outputs I have produced, everything is running fine till the end of the main COBOL program ...
here are the messages I have received:
JOB17503 IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000010
TIME=16.45.56 SEQ=37679 CPU=0000 ASID=0151
PSW AT TIME OF ERROR 078D1000 899005BE ILC 4 INTC 10
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
DATA AT PSW 099005B8 - 12664780 31E25870 60004107
GR 0: 00000000_000000B8 1: 00000000_00048058
2: 00000000_00047000 3: 00000000_09900402
4: 00000000_00048050 5: 00000000_00000068
6: 00000000_C5C4C5E5 7: 00000000_0004A000
8: 00000000_191B0780 9: 00000000_00000000
A: 00000000_00000000 B: 00000000_190718D8
C: 00000000_00017B10 D: 00000000_0002DDA8
E: 00000000_89900440 F: 00000001_00000000
END OF SYMPTOM DUMP
JOB17503 BPXP009I THREAD 1960940000000000, IN PROCESS 33554929, ENDED
ABNORMALLY WITH COMPLETION CODE 840C4000, REASON CODE 0000001
Someone has an idea ???
- Is that situation possible ?
- Do I forget to use some LE run-time options ?
- Do I forget to use some COBOL compilation options ?
Thanks in advance,
Olivier
PS: I have tested using a main program written in PL/I and ... it works ....
Firstly I would like to tell you that I know that that version of the Coobol can not attach a new thread to the main thread, like PL/I can do with the ATTACH statement.
BUT I try to test the following situation:
A main program in COBOL calling statically a PL/I routine that:
- attaches a thread ATTACH <another routine name> THREAD(<thread name>)
- waits its end WAIT THREAD (<thread name>)
As far as I can understand the different outputs I have produced, everything is running fine till the end of the main COBOL program ...
here are the messages I have received:
JOB17503 IEA995I SYMPTOM DUMP OUTPUT
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000010
TIME=16.45.56 SEQ=37679 CPU=0000 ASID=0151
PSW AT TIME OF ERROR 078D1000 899005BE ILC 4 INTC 10
NO ACTIVE MODULE FOUND
NAME=UNKNOWN
DATA AT PSW 099005B8 - 12664780 31E25870 60004107
GR 0: 00000000_000000B8 1: 00000000_00048058
2: 00000000_00047000 3: 00000000_09900402
4: 00000000_00048050 5: 00000000_00000068
6: 00000000_C5C4C5E5 7: 00000000_0004A000
8: 00000000_191B0780 9: 00000000_00000000
A: 00000000_00000000 B: 00000000_190718D8
C: 00000000_00017B10 D: 00000000_0002DDA8
E: 00000000_89900440 F: 00000001_00000000
END OF SYMPTOM DUMP
JOB17503 BPXP009I THREAD 1960940000000000, IN PROCESS 33554929, ENDED
ABNORMALLY WITH COMPLETION CODE 840C4000, REASON CODE 0000001
Someone has an idea ???
- Is that situation possible ?
- Do I forget to use some LE run-time options ?
- Do I forget to use some COBOL compilation options ?
Thanks in advance,
Olivier
PS: I have tested using a main program written in PL/I and ... it works ....