Re: Reading a Load Module
In [EMAIL PROTECTED], on 03/29/2006 at 01:03 PM, JONES, CHARLIE [EMAIL PROTECTED] said: I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this possible? Sure. But are you certain that's what you want to do? What are you trying to achieve? Does it have to be just REXX, or can you use, e.g., BINDER, ISPF? The easiest way is to write a REXX function in assembler to do a BLDL, then read the actual member in REXX. I believe that the Program Management documentation still has the layouts of the CESD, CTL, RLD and CTL/RLD records. -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see http://patriot.net/~shmuel/resume/brief.html We don't care. We don't have to care, we're Congress. (S877: The Shut up and Eat Your spam act of 2003) -- 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
Reading a Load Module
I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this possible? Can VPSPRINT copy a sequential datasets with the FOLD option? Any suggestions would be a great help. Charlie -- 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
Re: Reading a Load Module
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of JONES, CHARLIE Sent: Wednesday, March 29, 2006 1:04 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Reading a Load Module I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this possible? Can VPSPRINT copy a sequential datasets with the FOLD option? Any suggestions would be a great help. Charlie I guess that I'm going to ask: What do you mean by READ?. A load module or program object is readable by REXX as-is. Now, understanding what was read is a different question. What, in particular, are you wanting to accomplish? Look for specific character strings? Look for instruction sequences? -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -- 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
Re: Reading a Load Module
try superzap JONES, CHARLIE [EMAIL PROTECTED] Sent by: IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU 03/29/2006 02:03 PM Please respond to IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU To IBM-MAIN@BAMA.UA.EDU cc Subject Reading a Load Module I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this possible? Can VPSPRINT copy a sequential datasets with the FOLD option? Any suggestions would be a great help. Charlie -- 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
Re: Reading a Load Module
Depending on what he wants, reading it with Rexx could be a chore, albeit not impossible. Don't forget that key load module data is stored in the directory entry. Much of the directory entry is logically part of the load module. And it's not in the most friendly format for programs without good binary arithmetic and indexing capabilities. (But yes, do-able.) Depending on what he wants to do, formatting it in hex with Superzap (as John suggested) or another utility and parsing the listing with Rexx could be a good option. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of McKown, John Sent: Wednesday, March 29, 2006 11:19 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Reading a Load Module -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of JONES, CHARLIE Sent: Wednesday, March 29, 2006 1:04 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Reading a Load Module I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this possible? Can VPSPRINT copy a sequential datasets with the FOLD option? Any suggestions would be a great help. I guess that I'm going to ask: What do you mean by READ?. A load module or program object is readable by REXX as-is. Now, understanding -- 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
Re: Reading a Load Module
- Original Message - From: McKown, John [EMAIL PROTECTED] Newsgroups: bit.listserv.ibm-main Sent: Wednesday, March 29, 2006 2:19 PM Subject: RE: Reading a Load Module -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of JONES, CHARLIE Sent: Wednesday, March 29, 2006 1:04 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Reading a Load Module I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this I guess that I'm going to ask: What do you mean by READ?. A load module or program object is readable by REXX as-is. Now, understanding what was read is a different question. What, in particular, are you wanting to accomplish? Look for specific character strings? Look for instruction sequences? John, WTF you be talkin' 'bout Willis? Rexx cannot read a load module as-is. The EXECIO gets an IRX0509E that only RECFM F and V types are supported. Do you have some type of add-on routine that does this? Regards, Tom Conley -- 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
Re: Reading a Load Module
WTF you be talkin' 'bout Willis? Rexx cannot read a load module as-is. The EXECIO gets an IRX0509E that only RECFM F and V types are supported. Do you have some type of add-on routine that does this? Tom, I believe he's referring to the LMGET service which can be issued by REXX to read a load module. Dave Salt SimpList(tm) - The easiest, most powerful way to surf a mainframe! http://www.mackinney.com/products/SIM/simplist.htm -- 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
Re: Reading a Load Module
On Wed, 29 Mar 2006 13:03:37 -0600, JONES, CHARLIE [EMAIL PROTECTED] wrote: I would like to convert a loadlib module to a format that I can read with a REXX Exec. Is this possible? You can call most of the Binder APIs directly from Rexx, and they can return all the text (and a great deal more) from a load module. They also work on Program Objects in PDSEs and UNIX files. Tony H. -- 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
Re: Reading a Load Module
-Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Conley Sent: Wednesday, March 29, 2006 2:11 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Reading a Load Module snip John, elided you be talkin' 'bout Willis? Rexx cannot read a load module as-is. The EXECIO gets an IRX0509E that only RECFM F and V types are supported. Do you have some type of add-on routine that does this? Regards, Tom Conley Add LRECL=1,RECFM=FB to the DD statement and you can read it. One character at a time. OK, probably not what was wanted. But it does work. -- John McKown Senior Systems Programmer UICI Insurance Center Information Technology This message (including any attachments) contains confidential information intended for a specific individual and purpose, and its content is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this transmission, or taking any action based on it, is strictly prohibited. -- 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
Re: Reading a Load Module
And if it's a program object, all bets are off - time for the (at least) $15K DFSMSdfp Advanced Customization Guide, or parse SPZAP output. Later, Ray -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Charles Mills Sent: Wednesday March 29 2006 12:02 To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Reading a Load Module Depending on what he wants, reading it with Rexx could be a chore, albeit not impossible. Don't forget that key load module data is stored in the directory entry. Much of the directory entry is logically part of the load module. And it's not in the most friendly format for programs without good binary arithmetic and indexing capabilities. (But yes, do-able.) Depending on what he wants to do, formatting it in hex with Superzap (as John suggested) or another utility and parsing the listing with Rexx could be a good option. -- 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