Hi Adam
The QLICOBJD system API is the one you can use to change the user defined
attribute (amongst other things) for an object. I have a sample CL program
at
http://www.astradyne-uk.com/code/index.php?id=51226e62f7 that I use to
add version numbering details to compiled objects and another CL program at
http://www.astradyne-uk.com/code/index.php?id=01b530fb5b which can be used
to change an objects source file information.
For a full list of available source members for download, take a look at
www.astradyne-uk.com/sourcecode.php.
All the best
Jonathan
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of AGlauser@xxxxxxxxxxxx
Sent: 17 July 2007 16:45
To: Midrange technical discussions
Subject: Associating extra information with an object
Hi all,
I seem to remember a discussion on this list (or perhaps RPG400-L) some
time ago about associating user-defined attributes with i5/OS objects.
I've been mulling the use of stream files for program source for a while,
and I think one of the major arguments against storing source as stream
files is that *MODULE objects can't reference stream files for their
source file attribute. I thought perhaps adding a user-defined attribute
might be an answer.
I've poked around the API finder in the InfoCentre, as well as searching
the archives for all of the midrange.com lists, but I can't remember the
specific name of this feature. Does any one have a better memory than I
do?
TIA,
Adam
Attention:
The information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and may
contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon,
this
information by persons or entities other than the intended recipient is
prohibited. If you received this message in error, please contact the sender
and
delete the material from any system and destroy any copies. Thank you for
your
time and consideration.
Attention:
Le contenu de ce message et(ou) les fichiers ci-joints sadressent
exclusivement ` la personne ou -entiti ` laquelle ils sont destinis. Ils
peuvent
contenir de linformation confidentielle, protigie et(ou) classifiie. Il est
strictement interdit ` toute personne ou entiti autre que le(la)
destinataire
privu(e) de ce message dexaminer, de riviser, de retransmettre ou de
diffuser
cette information, de prendre une quelconque action en fonction ou sur la
base
de celle-ci, ou den faire tout autre usage. Si vous avez regu ce message
par
erreur, veuillez communiquer avec lexpiditeur(trice), supprimer ce message
et
les fichiers ci-inclus de tout systhme, et en ditruire toutes copies,
quelles
soient ilectroniques ou imprimies. Nous vous remercions de votre entihre
collaboration.
As an Amazon Associate we earn from qualifying purchases.