ca.portal.admin

Re: [IDMSVENDOR-L] Linking Rules Extended and not with DC and

Discussion created by ca.portal.admin on May 17, 2007
Batch

DC tasks can also be started by LU62 from a remote started task - there
are other ways as well .....


This is Chris Hoelscher and I approved this message!

Chris Hoelscher
Senior IDMS & DB2 Database Administrator Humana Inc
502-476-2538
choelscher@humana.com



The information transmitted is intended only for the person or entity to
which it is addressed and may contain CONFIDENTIAL material. If you
receive this material/information in error, please contact the sender
and delete or destroy the material/information.
"
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
"DC tasks can also be started by LU62 from a remote started task - there are
other ways as well .....


This is Chris Hoelscher and I approved this message!

Chris Hoelscher
Senior IDMS & DB2 Database Administrator
Humana Inc
502-476-2538
choelscher@humana.com



The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Linking Rules Extended and not with DC and Batch
"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
DB Analyzer DBNAME issue resolved
"Hello All:

The DB Analyzer issue has been resolved by applying APAR QO50103, it deals
with multiple page groups. The DBNAME in SYSIDMS is now working properly.

Please note; this APAR is for CA-IDMS Release 15.0, we are running service
pack five.

Bill Allen



************************************** See what's free at http://www.aol.com.
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Modifying an IDD record
"Mike,

If you delete the record from the schema, it will also be removed from any
subschema it is in.
You can of course punch all subschemas first, then re-add them when you are
done.

Instead of that, I change the version of the schema record to 0.
Then add a new version 1 of the record with the new layout.

In IDD

MOD REC myrec V 1 NEW V 0.
ADD REC myrec V 1.
REC ELE......

I then modify the schema with

MOD SCHEMA myschema V 1.
MOD REC myrec SHA STRU REC myrec V 1.
VAL.
REG AFF SUBS.

All subschemas will then pick up the new version of the record.
When you are done you can delete the version 0 of the record.
Or if you want to be nice to your programmers you can create a new schema
with the old version of the record and use it for creating a restructure
macro that initializes the new fields.

Tommy Petersen





Mike Champagne
<mchampagne@MILNO
R.COM> To
Sent by: IDMS IDMS-L@LISTSERV.IUASSN.COM
Public Discussion cc
Forum
<IDMS-L@LISTSERV. Subject
IUASSN.COM> Modifying an IDD record


05/16/2007 05:49
PM


Please respond to
IDMS Public
Discussion Forum
<IDMS-L@LISTSERV.
IUASSN.COM>






OK, I'm adding some fields to an existing database record, actually carving
some bytes out of an already-allocated FILLER area. I haven't done this in
a while (we're a CAS shop) so did some experimentation on my test
dictionary, and I have the process all figured out except for when the time
comes to actually make the change to the record - the only way I have been
able to get the changes into the record (once it's been 'detached' from the
schema) is to delete the record and re-add it with the new record layout.

Of course, as far as what fields are available to dialogs and programs that
use the record, this accomplished my objective, but surely I'm missing
something.

Anyone have any words of wisdom for me?

Thanks as usual to all the great folks on IDMS-L who are always ready and
willing to help.

Mike

PELLERIN MILNOR CORPORATION
Michel J Champagne
Systems Analyst / DBA
Voice: 504-712-7589
FAX: 504-712-3589

Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Modifying an IDD record
"Mike,

I like Chris's method,
But I have used a method that mod's rec ver 1.

So if you still want to mod rec version 1,
Then add a ""REMOVE ALL ."" statement
between ""mod rec ."" statement
& the first ""record element"" statement.

(you need to re-add all of the ""rec ele"" statements to create the new
ver 1.)

MOD
RECORD NAME IS rrrr VERSION IS 1
. . .
.

REMOVE ALL .

RECORD ELEMENT IS eee VERSION 1
. . .
.

Have a Good day,

Don

Don Locke
SimplexGrinnell
Phone: (978) 731-8678
Email: dlocke@tycoint.com

"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Modifying an IDD record
">another method one can use ...


assuming the schema record is version 1
1) create a version 2 (frin scratch) the way you want it
2) mod schema ***. mod rec *** shares record xxxx v 2 (i hope that
syntax is close enough
3) mod record *** v 1 new version is 99
4) mod rec *** v 2 new version is 1

when all is completed del v 99.

this may or not may work for you .. but i use this method whenever possible


This is Chris Hoelscher and I approved this email
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Re: Modifying an IDD record
"And if you are adding elements and you want them in specific locations within the record, specifiy a line number. For example if the first 5 elements are lines, 100, 200, 300, 400, and 500, and you want the new element between the third and fourth elements, you specify LINE IS 350; I believe that they get renumbered by the DB. (And if you are ADDING I believe you do not do REP REC ELE, but just REC EL. . .

Cindy Kline

Outcomes