Re: Assistance in Assembler, Z / OS and problem solving with DUMP's

2010-08-19 Thread Lizette Koehler
Do you have access to the SHARE.ORG website? There are presentations for dump reading for various areas (LE, CICS, Application) that would be a good start. Then there are the REDBOOKS - ABC's of z/OS System programming. Become familiar with using IPCS to read SVC Dumps. This is a large area.

Re: CDS and alignment question

2010-08-19 Thread Tom Marchant
On Thu, 19 Aug 2010 05:32:15 -0700, Lloyd Fuller wrote: And BOTH of the LA commands shown are bad coding practice in these days of cross memory: add the , to make R11 and R12 be base registers and not index registers. From experience that type of problem is difficult to debug when a problem

Re: CDS and alignment question

2010-08-19 Thread David Bond
Ensuring the base registers are 4096 apart is important when using based USINGs for items within the referenced area. A 4095 increment requires separate USINGs for each register, resulting in separate USING ranges. A 4096 increment allows a single USING statement and a contiguous USING range. If

Re: CDS and alignment question

2010-08-19 Thread Lloyd Fuller
That is true if you KNOW that you are going to only be in AR-mode. In the cases that I have seen in the past, the program was only conditionally in AR-mode. In fact, part of the time it was executing on hardware that did not even have address registers. My point was: avoid problems downstream

Re: CDS and alignment question

2010-08-19 Thread Tom Marchant
On Wed, 18 Aug 2010 23:27:30 -0600, Paul Gilmartin wrote: On Aug 18, 2010, at 17:30, John R. Ehrman (408-463-3543 T/543-) wrote: I think the original posting was pointing out that you lose only a single byte of addressability by adding 4095, and that you save one instruction. The added byte

Re: CDS and alignment question

2010-08-19 Thread Paul Gilmartin
On Aug 19, 2010, at 07:25, David Bond wrote: Ensuring the base registers are 4096 apart is important when using based USINGs for items within the referenced area. A 4095 increment requires separate USINGs for each register, resulting in separate USING ranges. A 4096 increment allows a single

Re: CDS and alignment question

2010-08-19 Thread David Bond
On Thu, 19 Aug 2010 08:48:34 -0600, Paul Gilmartin wrote: If for instance, a DCB crosses base registers and the DCB fields are to be referenced via a based USING on the IHADCB DSECT, the difference between the two matters. It works only if the single USING statement is employed. I have run

Re: CDS and alignment question

2010-08-19 Thread Paul Gilmartin
On Aug 19, 2010, at 09:12, David Bond wrote: Given: USING DSA,R13,R12 or: USING DSA,R13 USING DSA+4096,R12 with: USING (IHADCB,IHADCB+DCBLNGQS),SYSPRINT MVC DCBDDNAM,=CL8'SYSOUT' ... DSA DSECT ... SYSPRINT DCB ... (generated DCB starts

Re: CDS and alignment question

2010-08-19 Thread Martin Trübner
Gil, (or should I use Paul?) Is there any form of USING for multiple base registers and long displacements, Multiple is (per documentation) 4096 and then the next. or is it merely unthinkable that any DSECT would require multiple base registers with long displacements? that would be a