I believe that someone asked a similar question and he wrote something about wanting it "in one place"; I'm not sure what he meant. Certainly using documented and supported interfaces is safer for a neophyte.
As to the original issue, there are lots of ways to get the correct length, but until he posts complete and legible code, I'm not going to waste time trying to diagnose the problem. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Charles Mills [[email protected]] Sent: Monday, August 23, 2021 7:13 PM To: [email protected] Subject: Re: Load Library Module Length and Load Macro Module Length different Values Why not just use CSVDYLPA? I can vouch from personal experience that it works as advertised. I recall having very little difficulty getting going with it. (Can't say that I am one of those folks whose program worked the first time LOL.) Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Seymour J Metz Sent: Monday, August 23, 2021 3:07 PM To: [email protected] Subject: Re: Load Library Module Length and Load Macro Module Length different Values Why ask everyone to play guessing games? Show *ALL* of the code from the LOAD to the MVCL. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Joseph Reichman [[email protected]] Sent: Monday, August 23, 2021 11:21 AM To: [email protected] Subject: Re: Load Library Module Length and Load Macro Module Length different Values Jim I ran this under TESTAUTH but I can get the information What it seem to me the load or load extinfo or CSVQUERY don’t provide the correct length of the module The length from the directory entry was hex 3530 CSV reported the length as hex 4000 When I looked at roughly the last hex 400 bytes of the source it was all binary zeros The link map seemed to be in line with the directory entry Was I used the directory entry value I was able to move the code to CSA and copy all the program code > On Aug 23, 2021, at 11:10 AM, Jim Mulder <[email protected]> wrote: > > You said you got a 0C4 abend on an MVCL. > > What what the source address and length for the MVCL? > What was the target address and length for the MVCL? > What was the Translation Exception Id? > From a dump, what was the length and address from the > system trace entry for the GETMAIN which obtained the module storage? > > Jim Mulder z/OS Diagnosis, Design, Development, Test IBM Corp. > Poughkeepsie NY > > > "IBM Mainframe Discussion List" <[email protected]> wrote on > 08/23/2021 10:32:53 AM: > >> From: "Joseph Reichman" <[email protected]> >> To: [email protected] >> Date: 08/23/2021 11:03 AM >> Subject: Re: Load Library Module Length and Load Macro Module Length >> different Values >> Sent by: "IBM Mainframe Discussion List" <[email protected]> >> >> Maybe I should be doing that and with the load use BLDL >> >> Quite honestly Greg this is what I was looking for when I posted > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
