On Thu, 14 Aug 2014 07:45:55 +0200 Charles Mills <[email protected]> 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 <[email protected]>
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 [email protected] with the message: INFO IBM-MAIN