Can't you use AMASPZAP to update your string _after_ recreating the PDSE
loadlibrary?
Much better than editing an XMIT file containing non-displayable characters
that may get clobbered by the editor program.

Regards,
Ulrich Krueger

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Michael Knigge
Sent: Wednesday, December 19, 2007 07:22
To: [email protected]
Subject: Problem fetching a program object (CSV031I)

All,

I have a C-Program that is compiled to a DLL and stored in a PDSE, so it 
is stored as a "program object" (if I got all this stuff right).

In my program I have some static areas (name it "eye cathers"), for 
example like this:

static char *Foo = "123456\0MY_EYE_CATHER";


This way, the String "123456[null]MY_EYE_CATCHER" is contained within my 
program object. Now I create a XMIT-File from my program object and then 
I change some bytes in this generated XMIT.

<snipped part of text>

P.S.: If you wonder why I need to do this: We compile a product, 
generate a XMIT and if we ship it to a client we want to "patch" a 
client-id and date into all shipped modules - and using this method we 
can do this under windows/unix and don't need to recompile+relink under 
z/OS....

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to