Intentional abends: System vs. User vs. #DIE (was VarIabLe DD names in VSAM)

2012-02-16 Thread Dave Cole
ame Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Martin Truebner Sent: 13 February 2012 11:21 To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: VarIabLe DD names in VSAM Thomas (or should I say "amateur in asm" ;-) The idea is to produce something that is easy reco

Re: VarIabLe DD names in VSAM

2012-02-13 Thread David P de Jongh
Ha!  I have frequently asked customers to send me a dump, so that I could examine the entrails of the beast (and hopefully track its spoor).David de Jongh On 02/13/12, John Gilmore wrote: After describing his own debugging practices, Gerhard Postpischil writes:For production programs, I prefer to s

Re: VarIabLe DD names in VSAM

2012-02-13 Thread John Gilmore
After describing his own debugging practices, Gerhard Postpischil writes: For production programs, I prefer to save the registers, if useful, issue one or more explanatory messages, and then issue a user abend. and this is enough. Debugging--as opposed to prior and subsequent systematic testin

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Gerhard Postpischil
On 2/13/2012 10:53 AM, McKown, John wrote: Personally, I do the S0C1 for one reason alone: for "debugging" purposes. It is just simpler to do than coding up a good ABEND macro instruction. I'm not say this is for production use of reporting an error to an end user. I do use the ABEND and/or DUMP

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
;> :>> :>>> -Original Message----- :>>> From: IBM Mainframe Assembler List :>>> [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John Gilmore :>>> Sent: Monday, February 13, 2012 9:01 AM :>>> To: ASSEMBLER-LIST@LISTSERV.UGA.EDU :>>&

Re: VarIabLe DD names in VSAM

2012-02-13 Thread John Gilmore
nsurance Company.SM > > > >> -Original Message- >> From: IBM Mainframe Assembler List >> [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John Gilmore >> Sent: Monday, February 13, 2012 9:01 AM >> To: ASSEMBLER-LIST@LISTSERV.UGA.EDU >> Subje

Re: VarIabLe DD names in VSAM

2012-02-13 Thread McKown, John
nd Health Insurance Company.SM > -Original Message- > From: IBM Mainframe Assembler List > [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of John Gilmore > Sent: Monday, February 13, 2012 9:01 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: VarIabLe DD names in V

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
On Mon, 13 Feb 2012 10:00:42 -0500 John Gilmore wrote: :>Binyamin is talking nonsense. A good way to start a discussion. :>A USER ABEND has the same DUMP options available to it that are :>available to any other ABEND. True, and irrelevant. :>The notion that the default options supplied for,

Re: VarIabLe DD names in VSAM

2012-02-13 Thread John Gilmore
Binyamin is talking nonsense. A USER ABEND has the same DUMP options available to it that are available to any other ABEND. The notion that the default options supplied for, say, a judiciously chosen SYSTEM OCx ABEND can somehow be better than those chosen in a considered way for a USER ABEND is

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
On Mon, 13 Feb 2012 09:05:03 -0500 John Gilmore wrote: :>We have of course been here before. :>The idea that a desired USER ABEND is best achieved by triggering a :>SYSTEM ABEND that will be minimally confusing, highly unlikely to be :>confused with the corresponding real SYSTEM ABEND, does not

Re: SV: VarIabLe DD names in VSAM

2012-02-13 Thread Paul Gilmartin
On Feb 13, 2012, at 06:52, Steve Comstock wrote: > On 2/13/2012 3:49 AM, Thomas Berg wrote: >> Why not code: DC X'00' ? >> >> (Just a curious amateur in asm) > > Well, the following instruction will be on an > odd boundary, ... > Is this even true if the programmer uses PARM=NOALIGN? But this is

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
On Mon, 13 Feb 2012 06:52:23 -0700 Steve Comstock wrote: :>On 2/13/2012 3:49 AM, Thomas Berg wrote: :>> Why not code: DC X'00' ? :>> (Just a curious amateur in asm) :>Well, the following instruction will be on an :>odd boundary, for one. Not unless there is some weird assembler option that al

Re: VarIabLe DD names in VSAM

2012-02-13 Thread John Gilmore
We have of course been here before. The idea that a desired USER ABEND is best achieved by triggering a SYSTEM ABEND that will be minimally confusing, highly unlikely to be confused with the corresponding real SYSTEM ABEND, does not seem to want to die. Why try to trick the system into issuing an

Re: SV: VarIabLe DD names in VSAM

2012-02-13 Thread Steve Comstock
Thomas Berg Specialist A M SWEDBANK -Ursprungligt meddelande- Från: IBM Mainframe Assembler List [mailto:ASSEMBLER- l...@listserv.uga.edu] För McKown, John Skickat: den 10 februari 2012 14:10 Till: ASSEMBLER-LIST@LISTSERV.UGA.EDU Ämne: Re: VarIabLe DD names in VSAM I used to do E

Re: VarIabLe DD names in VSAM

2012-02-13 Thread McKown, John
any.SM > -Original Message- > From: IBM Mainframe Assembler List > [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Thomas Berg > Sent: Monday, February 13, 2012 4:49 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: SV: VarIabLe DD names in VSAM > > Why not code:

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
On Mon, 13 Feb 2012 12:20:58 +0100 Martin Truebner wrote: :>Thomas (or should I say "amateur in asm" ;-) :>The idea is to produce something that is easy recognisable as "done on :>purpose" and not to muddy the water more for this "unexpected" :>situation. :>I for example always have a EX *,* (o

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Rob Scott
TSERV.UGA.EDU Subject: Re: VarIabLe DD names in VSAM Thomas (or should I say "amateur in asm" ;-) The idea is to produce something that is easy recognisable as "done on purpose" and not to muddy the water more for this "unexpected" situation. I for example always have a EX

SV: VarIabLe DD names in VSAM

2012-02-13 Thread Thomas Berg
homas Berg Specialist A M SWEDBANK > -Ursprungligt meddelande- > Från: IBM Mainframe Assembler List [mailto:ASSEMBLER- > l...@listserv.uga.edu] För Martin Truebner > Skickat: den 13 februari 2012 12:21 > Till: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Ämne: Re: VarIabLe DD names in VSA

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Martin Truebner
Thomas (or should I say "amateur in asm" ;-) The idea is to produce something that is easy recognisable as "done on purpose" and not to muddy the water more for this "unexpected" situation. I for example always have a EX *,* (or an equivalent if there is no base covering it) after a EXEC CICS RET

SV: VarIabLe DD names in VSAM

2012-02-13 Thread Thomas Berg
uga.edu] För McKown, John > Skickat: den 10 februari 2012 14:10 > Till: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Ämne: Re: VarIabLe DD names in VSAM > > I used to do EX *,0 to get an S0C3. I now do " j *+2 " to get a S0C1. > > -- > John McKown > Systems Engineer IV &g

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Andy Coburn
- From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Andy Coburn Sent: Friday, February 10, 2012 9:13 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: VarIabLe DD names in VSAM > S0c3 is very nice for a deliberate abend, since it's extremely rare in its accidenta

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Tony Harminc
On 10 February 2012 20:54, Steve Smith wrote: > S0c3 is very nice for a deliberate abend, since it's extremely rare in its > accidental form; so my replacement is EXRL 0,*. A Square Root exception is also only-deliberate in most non scientific programs, and shows up on z/OS as a 0E0-1D abend. I

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Andy Coburn
n Behalf Of Steve Smith Sent: Friday, February 10, 2012 8:54 PM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: VarIabLe DD names in VSAM S0c3 is very nice for a deliberate abend, since it's extremely rare in its accidental form; so my replacement is EXRL 0,*. sas On 2/10/2012 8:10, McKown,

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Steve Smith
Re: VarIabLe DD names in VSAM On Fri, 10 Feb 2012 22:06:12 +1100 Shane G wrote: :>On Fri, Feb 10th, 2012 at 9:37 PM, Sharuff Morsa3 wrote: :>> Would anyone want to share good/bad comments they've seen ? :>"This code is never entered" :>Usually in recovery/error p

Re: code comments (Was: VarIabLe DD names in VSAM)

2012-02-10 Thread Lloyd Fuller
s and got frustrated :-). Lloyd - Original Message From: Tony Thigpen To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Sent: Fri, February 10, 2012 6:31:56 AM Subject: code comments (Was: VarIabLe DD names in VSAM) Code that said: "Mike told me this condition could never happen. If this

Re: code comments (Was: VarIabLe DD names in VSAM)

2012-02-10 Thread Sam Siegel
LOL --Original Message-- From: Tony Thigpen Sender: IBM Mainframe Assembler List To: ASSEMBLER-LIST@LISTSERV.UGA.EDU ReplyTo: IBM Mainframe Assembler List Subject: code comments (Was: VarIabLe DD names in VSAM) Sent: Feb 10, 2012 3:31 AM Code that said: "Mike told me this condition

Re: VarIabLe DD names in VSAM

2012-02-10 Thread McKown, John
ilto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Binyamin Dissen > Sent: Friday, February 10, 2012 6:31 AM > To: ASSEMBLER-LIST@LISTSERV.UGA.EDU > Subject: Re: VarIabLe DD names in VSAM > > On Fri, 10 Feb 2012 22:06:12 +1100 Shane G > wrote: > > :>On Fri, Feb 10th, 2012 at 9:37

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Bodoh John Robert
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On Behalf Of Sharuff Morsa3 Sent: Friday, February 10, 2012 5:38 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Re: VarIabLe DD names in VSAM Referring to Chris's comment <-...extensively commented assembler programs ...-

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Binyamin Dissen
On Fri, 10 Feb 2012 22:06:12 +1100 Shane G wrote: :>On Fri, Feb 10th, 2012 at 9:37 PM, Sharuff Morsa3 wrote: :>> Would anyone want to share good/bad comments they've seen ? :>"This code is never entered" :>Usually in recovery/error processing code. What I do is force an 0C6 in such cases. Leav

code comments (Was: VarIabLe DD names in VSAM)

2012-02-10 Thread Tony Thigpen
Code that said: "Mike told me this condition could never happen. If this abend ever happens, call John at xxx-xxx- and tell him that Mike owes him $100." Tony Thigpen -Original Message - From: Shane G Sent: 02/10/2012 06:06 AM On Fri, Feb 10th, 2012 at 9:37 PM, Sharuff Morsa3 wr

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Shane G
On Fri, Feb 10th, 2012 at 9:37 PM, Sharuff Morsa3 wrote: > Would anyone want to share good/bad comments they've seen ? "This code is never entered" Usually in recovery/error processing code. wtf ???. Shane ...

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Sharuff Morsa3
haruff smo...@uk.ibm.com Sent from my laptop -- Date:Thu, 9 Feb 2012 11:01:21 +0100 From: Chris Mason Subject: Re: VarIabLe DD names in VSAM. Tony >>snip [1] I believe there are some in this list to whom this approach is some sort of h

Re: VarIabLe DD names in VSAM.

2012-02-09 Thread Chris Mason
Original Message - From: "Tony Harminc" To: Sent: Tuesday, February 07, 2012 11:57 PM Subject: Re: VarIabLe DD names in VSAM. On 7 February 2012 17:25, John Gilmore wrote: I am missing something here. What form would you like a DDNAME value to take? I imagine the difficulty

VarIabLe DD names in VSAM

2012-02-08 Thread Kenneth J. Kripke
Use IFGACB macro to map the fields in the ACB. Establish addressability to the generated ACB area and plug the DDNAME into the ACB ddname field. The other macro of interest is IFGRPL for manipulating the RPL. Ken Kripke kkri...@mindspring.com

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread Sam Siegel
in sys1.modgen(ifgacb) On Tue, Feb 7, 2012 at 2:55 PM, David Bond wrote: > On Tue, 7 Feb 2012 22:17:00 +, Bodoh John Robert wrote: >>I am writing a subroutine which receives a DDNAME as an argument to use in > a dynamically create ACB. I need to put that input DDNAME into an ACB > before ope

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread Tony Harminc
On 7 February 2012 17:25, John Gilmore wrote: > I am missing something here. > > What form would you like a DDNAME value to take? I imagine the difficulty is that on macros DCB and ACB, DDNAME=SYSUT1 uses SYSUT1 as the character value of the DDNAME, and not as the symbolic address of the characte

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread David Bond
On Tue, 7 Feb 2012 22:17:00 +, Bodoh John Robert wrote: >I am writing a subroutine which receives a DDNAME as an argument to use in a dynamically create ACB. I need to put that input DDNAME into an ACB before opening it. I cannot find anyway to specify the DDNAME on GENACB or MODCB that will

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread Binyamin Dissen
On Tue, 7 Feb 2012 22:17:00 + Bodoh John Robert wrote: :>I am writing a subroutine which receives a DDNAME as an argument to use in a dynamically create ACB. I need to put that input DDNAME into an ACB before opening it. I cannot find anyway to specify the DDNAME on GENACB or MODCB that

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread Paul Gilmartin
On 2/7/2012 3:25 PM, John Gilmore wrote: I am missing something here. What form would you like a DDNAME value to take? Given that the DDNAME value is a character string, I suspect the OP would like the macro to take an address of a character string as an argument. On 2/7/12, Bodoh John Robe

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread Chip Grantham
Mainframe Assembler List 02/07/2012 04:18 PM Please respond to IBM Mainframe Assembler List To ASSEMBLER-LIST@LISTSERV.UGA.EDU cc Subject VarIabLe DD names in VSAM. I am writing a subroutine which receives a DDNAME as an argument to use in a dynamically create ACB. I need to put that in

Re: VarIabLe DD names in VSAM.

2012-02-07 Thread John Gilmore
I am missing something here. What form would you like a DDNAME value to take? On 2/7/12, Bodoh John Robert wrote: > I am writing a subroutine which receives a DDNAME as an argument to use in a > dynamically create ACB. I need to put that input DDNAME into an ACB before > opening it. I cannot f

VarIabLe DD names in VSAM.

2012-02-07 Thread Bodoh John Robert
I am writing a subroutine which receives a DDNAME as an argument to use in a dynamically create ACB. I need to put that input DDNAME into an ACB before opening it. I cannot find anyway to specify the DDNAME on GENACB or MODCB that will accept anything other than a name that is a character stri