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

2012-02-16 Thread Dave Cole
: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 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
, 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 IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26

Re: SV: VarIabLe DD names in VSAM

2012-02-13 Thread Steve Comstock
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 EX *,0 to get an S0C3

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

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
On Mon, 13 Feb 2012 06:52:23 -0700 Steve Comstock st...@trainersfriend.com 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

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 09:05:03 -0500 John Gilmore johnwgilmore0...@gmail.com 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

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 McKown, John
-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 VSAM Binyamin is talking nonsense. A USER ABEND has the same

Re: VarIabLe DD names in VSAM

2012-02-13 Thread John Gilmore
@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 VSAM Binyamin is talking nonsense. A USER ABEND has the same DUMP options available to it that are available to any other ABEND. The notion

Re: VarIabLe DD names in VSAM

2012-02-13 Thread Binyamin Dissen
: VarIabLe DD names in VSAM : : 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

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 John Gilmore
After describing his own debugging practices, Gerhard Postpischil writes: begin snippet For production programs, I prefer to save the registers, if useful, issue one or more explanatory messages, and then issue a user abend. /end snippet and this is enough. Debugging--as opposed to prior and

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Sharuff Morsa3
-- Date:Thu, 9 Feb 2012 11:01:21 +0100 From:Chris Mason chrisma...@belgacom.net 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 heresy! (Actually it's probably

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 ...

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

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Bodoh John Robert
[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 ...- I'm all in favour of well commented code - I

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 could

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Steve Smith
of TennesseeSM and The MEGA Life and Health Insurance Company.SM -Original Message- From: IBM Mainframe Assembler List [mailto: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

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Andy Coburn
, 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, John wrote: I used to do EX *,0 to get

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Tony Harminc
On 10 February 2012 20:54, Steve Smith sasd...@gmail.com 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

Re: VarIabLe DD names in VSAM

2012-02-10 Thread Andy Coburn
-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 accidental form; so my replacement is EXRL 0,* But what

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

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

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

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