Re: Return code 8 from open
On Thu, 14 Aug 2014 07:45:55 +0200 Charles Mills charl...@mcn.org wrote: :Michael, this is the most typical of SVC 99 functions: allocate a dataset :and then open it. I am going to guess that either there is some usual :problem with opening the dataset or else you have some Insectus programmus. :To eliminate the former cause, just temporarily add //MYDD DD DSN= etc. to :your JCL and hard-code MYDD in the DCB. Comment out the instruction that :moves the DD name into the DCB and run your code. If it fails, then you have :a programming 101 problem with opening a dataset. :If it succeeds, then the problem is either that your SVC 99 didn't really :work (you are not actually calling SVC 99 or not actually getting a zero) or :more likely a problem in moving the DD name into the DCB. Double- and :triple-deskcheck your work. If you can't see a problem, insert a dump :request just before the OPEN. Check the appearance of the DCB, and :especially the DD name and surrounding fields, against the DCB layout from :the DCBD macro. If necessary, go back to the hard-coded DD name and take :another dump just before the open. Compare the two DCBs. I wonder why he rarely takes the simple first debugging steps. Crawl before you run sort of thing. -- Binyamin Dissen bdis...@dissensoftware.com http://www.dissensoftware.com Director, Dissen Software, Bar Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
In 9b26bc6a6df52d4483dd73b1fe7b4b067c2ce27...@uspho-mxvs07.amer.thermo.com, on 08/13/2014 at 02:58 PM, Hardee, Chuck chuck.har...@thermofisher.com said: My question would be, would that message be written to the job log representing his session, Yes. the terminal screen as part of his output, PROFILE WTPMSG or is it being held by TSO for him to ask for it? No. -- 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Return code 8 from open
Hi, I am dynamically allocating a loadlib the SVC 99 is successful however I get a return code 8 when I try to open it I move the ddname returned by SVC 99 before I open it here is the layout of my DCB for the loadlib DDCB DCB DDNAME=DDNAME,RECFM=U,DSORG=PO,MACRF=R -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
Details please. Is it an existing or new dataset? Is it really partitioned? Does the DSCB already have a RECFM? Are you opening for input or output? Any chance of an AMODE inconsistency? Can you show us the SVC 99 code and the OPEN instruction? Any chance you could add a snap dump of the DCB prior to the open to verify everything is the way you think it should be? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of MichealButz Sent: Wednesday, August 13, 2014 8:23 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Return code 8 from open Hi, I am dynamically allocating a loadlib the SVC 99 is successful however I get a return code 8 when I try to open it I move the ddname returned by SVC 99 before I open it here is the layout of my DCB for the loadlib DDCB DCB DDNAME=DDNAME,RECFM=U,DSORG=PO,MACRF=R -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
It is a load lib From which I would like to do a load DCB= It is allocated as afterwards I see via ISRDDN the allocation Open doesn't seem to give much more info than a return code Sent from my iPhone On Aug 13, 2014, at 1:43 PM, retired mainframer retired-mainfra...@q.com wrote: Details please. Is it an existing or new dataset? Is it really partitioned? Does the DSCB already have a RECFM? Are you opening for input or output? Any chance of an AMODE inconsistency? Can you show us the SVC 99 code and the OPEN instruction? Any chance you could add a snap dump of the DCB prior to the open to verify everything is the way you think it should be? -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of MichealButz Sent: Wednesday, August 13, 2014 8:23 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Return code 8 from open Hi, I am dynamically allocating a loadlib the SVC 99 is successful however I get a return code 8 when I try to open it I move the ddname returned by SVC 99 before I open it here is the layout of my DCB for the loadlib DDCB DCB DDNAME=DDNAME,RECFM=U,DSORG=PO,MACRF=R -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
Probably a silly question but isn't there an error message in the job log describing the open error? Jon Perryman On Wednesday, August 13, 2014 8:22 AM, MichealButz michealb...@comcast.net wrote: I am dynamically allocating a loadlib the SVC 99 is successful however I get a return code 8 when I try to open it I move the ddname returned by SVC 99 before I open it here is the layout of my DCB for the loadlib -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
He said he found that the SVC 99 allocate worked via ISRDDN. It would seem to me that his program is being executed in a TSO session. My question would be, would that message be written to the job log representing his session, the terminal screen as part of his output, or is it being held by TSO for him to ask for it? Charles (Chuck) Hardee Senior Systems Engineer/Database Administration CCG Information Technology Thermo Fisher Scientific 300 Industry Drive | Pittsburgh, PA 15275 Phone +1 (724) 517-2633 | Mobile +1 (412) 877-2809 | FAX: +1 (412) 490-9230 chuck.har...@thermofisher.com | www.thermofisher.com WORLDWIDE CONFIDENTIALITY NOTE: Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent of a system responsible for delivering the message to the intended recipient, is prohibited. If you are not the intended recipient, please inform the sender and delete all copies. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Jon Perryman Sent: Wednesday, August 13, 2014 2:30 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Return code 8 from open Probably a silly question but isn't there an error message in the job log describing the open error? Jon Perryman On Wednesday, August 13, 2014 8:22 AM, MichealButz michealb...@comcast.net wrote: I am dynamically allocating a loadlib the SVC 99 is successful however I get a return code 8 when I try to open it I move the ddname returned by SVC 99 before I open it here is the layout of my DCB for the loadlib -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
In this case, I would expect it to be in the job log for the TSO user. Jon Perryman On Wednesday, August 13, 2014 11:58 AM, Hardee, Chuck chuck.har...@thermofisher.com wrote: He said he found that the SVC 99 allocate worked via ISRDDN. It would seem to me that his program is being executed in a TSO session. My question would be, would that message be written to the job log representing his session, the terminal screen as part of his output, or is it being held by TSO for him to ask for it? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
I'll check thanks Sent from my iPhone On Aug 13, 2014, at 3:04 PM, Jon Perryman jperr...@pacbell.net wrote: In this case, I would expect it to be in the job log for the TSO user. Jon Perryman On Wednesday, August 13, 2014 11:58 AM, Hardee, Chuck chuck.har...@thermofisher.com wrote: He said he found that the SVC 99 allocate worked via ISRDDN. It would seem to me that his program is being executed in a TSO session. My question would be, would that message be written to the job log representing his session, the terminal screen as part of his output, or is it being held by TSO for him to ask for it? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
Just checked no messages -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Jon Perryman Sent: Wednesday, August 13, 2014 3:04 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Return code 8 from open In this case, I would expect it to be in the job log for the TSO user. Jon Perryman On Wednesday, August 13, 2014 11:58 AM, Hardee, Chuck chuck.har...@thermofisher.com wrote: He said he found that the SVC 99 allocate worked via ISRDDN. It would seem to me that his program is being executed in a TSO session. My question would be, would that message be written to the job log representing his session, the terminal screen as part of his output, or is it being held by TSO for him to ask for it? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: Return code 8 from open
Michael, this is the most typical of SVC 99 functions: allocate a dataset and then open it. I am going to guess that either there is some usual problem with opening the dataset or else you have some Insectus programmus. To eliminate the former cause, just temporarily add //MYDD DD DSN= etc. to your JCL and hard-code MYDD in the DCB. Comment out the instruction that moves the DD name into the DCB and run your code. If it fails, then you have a programming 101 problem with opening a dataset. If it succeeds, then the problem is either that your SVC 99 didn't really work (you are not actually calling SVC 99 or not actually getting a zero) or more likely a problem in moving the DD name into the DCB. Double- and triple-deskcheck your work. If you can't see a problem, insert a dump request just before the OPEN. Check the appearance of the DCB, and especially the DD name and surrounding fields, against the DCB layout from the DCBD macro. If necessary, go back to the hard-coded DD name and take another dump just before the open. Compare the two DCBs. HTH, Charles -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN