View previous topic :: View next topic
|
Author |
Message |
sudhaaa
New User
Joined: 24 Mar 2005 Posts: 51
|
|
|
|
Whats the diff between COBOL-IMS and PLI-IMS.
I know cobol and PL/I are different programming languages.I know how to code DLI calls in COBOL. but how can I achieve this in PL/I
Thanks in advance |
|
Back to top |
|
|
knd_r Currently Banned New User
Joined: 18 Mar 2005 Posts: 48
|
|
|
|
dlI calls in pl/I:
plItdlI: parm_count,
function code,
pcb_name,
seg_io,
ssa1,
.......,
ssa15;
here parm count indicates the number of parameters using in the call.
function code represent the type of call (gu, ghu like that),
pcb_name indicates the name of pcb name on which dlI call is issued,
seg_io - segment input output area,
ssa - segment search area.
using cobol:
call cbltdlI using function_code,
-----,
------,
------;
here parm_count is not necessary in cobol.
regards,
k. s. reddy. |
|
Back to top |
|
|
sudheer648
New User
Joined: 23 May 2005 Posts: 97 Location: Chennai
|
|
|
|
Hi sudhaaa,
You are aware of how to code DLI calls in COBOL right in the similar way to code in PL/I with small changes
Program Changes
1.Use PLITDLI instead of CBLTDLI
2.Need to Use ParmCount while it is option in COBOL.
3.A lot of Built-in Functions are available in PL/I and not in COBOL
No change in PROC's and JCLS. |
|
Back to top |
|
|
sudhaaa
New User
Joined: 24 Mar 2005 Posts: 51
|
|
|
|
Hi Sudheer and KS,
Thanks for your replies. I hope you well known about Linkage section in COBOL.Here in PL/I, how can achieve this.
This is not a IMS question, but I'm posting here because in IMS using LINKAGE SECTION is very common(for PCB-MASK). So, How can I achieve this.
Thanks in advance.
Regards,
Sudhaaa. |
|
Back to top |
|
|
|