Developer Question

Discussion created by ca.portal.admin on Jan 5, 2010
Latest reply on Jan 6, 2010 by ca.portal.admin
Hello everyone and Happy New Year to all.

When you do an OBTAIN in a system owned index with a USING can the data
name in the using be anything that you want it to be as long as it is
the same picture and length as the actual key to the index?

We are passing the key from program A to B in a link record and then
trying to do an OBTAIN using the element description in the link record
and we are getting a 4083 error? I think this may be an LE/Cobol error?

William M. Allen, Jr.

ARCH Consulting Associates, Ltd.

(704) 641-0296
*****JuliusBaer Disclaimer***** This e-mail is for the intended =
recipient only and may contain confidential or privileged information. =
If you have received this e-mail by mistake, please contact us =
immediately and completely delete it (and any attachments) and do not =
forward it or inform any other person of its contents. If you send us =
messages by e-mail, we take this as your authorization to correspond =
with you by e-mail, however, we will not accept the electronic =
transmission of orders/instructions without a specific agreement being =
in place to govern the same. If you do not wish to receive any further =
e-mail correspondence please let us know. E-mail transmission cannot be =
guaranteed to be secure or error-free as information could be =
intercepted, amended, corrupted, lost, destroyed, arrive late or =
incomplete, or contain viruses. Neither the Julius Baer Group nor the =
sender accept liability for any errors or omissions in the content of =
this message which arise as a result of its e-mail transmission. Please =
note that all e-mail communications to and from the Julius Baer Group =
may be monitored. This communication is for informational purposes only. =
It is not intended as an offer or solicitation for the purchase or sale =
of any financial instrument or as an official confirmation of any =
IDMS 3rd-party providers forum


FW: Developer Question
"You have fallen over the 256 byte problem. It is documented in the DML
Rference Guide for Obtain Using.

Specifies the sort control element to be used in searching the sorted
The symbolic name of a field defined in working storage that contains
the value of the sort control element.
Note: Due to the architecture of the client interface for Advantage
CA-IDMS, 256 bytes will be moved regardless of the actual length of the
working storage sort key. This additional storage should be accounted
for in order to avoid potential program exceptions that can occur. While
these exceptions are rare, they are more probable if the sort-key is
defined in a FILE or LINKAGE SECTION definition. To avoid this problem,
it is recommended that the sort-key be defined in the program's WORKING
STORAGE SECTION, padded to a full 256 bytes; and moved in and out of the

Chris Trayler