ca.portal.admin

Linking Rules Extended and not with DC and Batch

Discussion created by ca.portal.admin on May 18, 2007
Latest reply on May 18, 2007 by ca.portal.admin
Hi,

I was in a meeting here at the Navy Base concerning an on-line called
program in an ADS environment which needed to be extended. Naturally,
other related questions were raised, so I volunteered (I haven't learned
yet) to write up an explanation.

Would anyone care to peruse the following and comment, correct, or
whatever? Any insight would be appreciated, especially one that tells
me my attempt actually already exists in an accurate form and where to
find it.

BOLDS, ITALICS, INDENTIONS and the like have disappeared on the copy. I
used some underline dashes to help.

Thank you in advance...


LINKING FROM NON-DC TO DC PROGRAMS AND VICE-VERSA CONSIDERATIONS

Definitions:
MODE - MODE statement in IDMS programs set to either; BATCH,
IDMS-DC, or DC-BATCH
PA - Calling Program
PB - Called Program (that is, PA calls PB)
BATCH Pgm - any program running in an LPAR region started by
JCL. MODE can only be BATCH, DC-BATCH, or non-existent. (no access to
IDMS)
ON-LINE Pgm - any program running inside the IDMS-CV LPAR
region, and started by a link or transfer from an ADS dialog or another
program, or initiated by a TASK name in an IDMS session or a timer task.
The program can also be an ADS dialog or non-IDMS.

Assumptions:
AUTOSTATUS appendage to the MODE statements will not be addressed in
this paper.


BATCH Pgms
---------------------------------
Linking When The Run Unit IS NOT Extended (That is, SUBSCHEMA-CONTROL IS
NOT passed from PA to PB.)
------
PA and PB can each be any acceptable BATCH Pgm mode.


Linking When The Run Unit IS Extended
(That is, SUBSCHEMA-CONTROL IS passed from PA to PB.)
---------
PA and PB must both be either BATCH or DC-BATCH


ON-LINE Pgms
--------------------------------
Note: ADS will be treated separately at the end of each part..

Linking When The Run Unit IS NOT Extended
-----
PA can be any acceptable ON-LINE Pgm mode. PB can be any callable
program type.

When a program is called from ADS and issues a DC-RETURN statement to
return back to the ADS environment or a DC-RETURN NEXT TASK CODE to
navigate to another TASK Code, it must be MODE IDMS-DC to issue those
statements.

The program can be BATCH if it calls another program which issued the
DC-RETURN commands.


Linking When The Run Unit IS Extended
-----
PA and PB must both be either IDMS-DC or BATCH.

When a program is called from ADS, it must be MODE IDMS-DC to accept the
DC Communications block (SUBSCHEMA-CONTROL) from ADS.


Take Care,
Bruce
Office: (717) 605-2019
Cell: (610) 468-9506
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: [IDMSVENDOR-L] Linking Rules Extended and not with DC and Batch
"Hi Chris,

Thanks...

I should have mentioned I was using techniques only employed at this
environment to avoid confusion. But, I will add other items to my own
copy, such as your LU6.2 and Table Procedures (which we use and I
missed).

But, then again, you all don't know this environment, so all comments
are welcome.

Take Care,
Bruce
Office: (717) 605-2019
Cell: (610) 468-9506

Outcomes