ca.portal.admin

Re:Re: [IDMSVENDOR-L] Question about IDMS record ids

Discussion created by ca.portal.admin on Mar 20, 2009
why would the app abend after copying data? DATA does not know about
record ids - so of you OBTAINed occurrances of record A (id 1001) and
STORED an identically defined record B (id 1005) in another CV via DML
(-
who cares about record id? or am i missing something?


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: Question about IDMS record ids
"I think the problem is with the way that the pre-compiler expands the
calls to IDMS. The ""record names"" exist in two places - once in working
storage with (usually) the 01 level named as the RECORD-NAME, and also
as an 03 level under 01 level RECORD-NAMES sort of like 03 SRnnnn pic
x(16) value 'RECORD-NAME'. - in the expansion of the call to IDMS to
manipulate a record with DML - the RECORD-NAME is passed as the area to
return the data to (once the BIND RECORD is done) and the SRnnnn is
passed as the identifier of the record being manipulated by the specific
DML verb. Clearly if in one environment SR9999 is an EMPLOYEE record and
in another SR9999 is a DEPARTMENT record IDMS will complain bitterly -
as appears to be he case here.

HTH - cheers - Gary =20


Gary Cherlet
Justice Technology Services
Department of Justice, SA Government
Telephone +61 (0)8 8226 5199
Facsimile +61 (0)8 8226 5311
Mobile +61 (0)41 333 1613
MailTo:cherlet.gary@saugov.sa.gov.au

This transmission may contain informThis e-mail message and any attachments are qualified as follows:
Addressing: If you have received this e-mail in error, please advise by
reply e-mail to the sender. Please also destroy the original
transmission and its contents. Confidentiality: This e-mail may contain
confidential information which also may be legally privileged. Only the
intended recipient(s) may access, use, distribute or copy this e-mail.
Individual Views: Unless otherwise indicated, the views expressed are
those of the sender, not Justice Technology Services. Computer Viruses:
It is the recipient's responsibility to check the e-mail and any
attached files for viruses.

Outcomes