Re: Access Method Services messages?
Try this link to IBM's manuals on the 'net: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M671/12.4 16?SHELF=EZ2ZO10IDT=20070118143320CASE= This will take you to the IDC3009 message. However, two questions I have is 1) what is the 90, reason code or return code? And 2) is it decimal (90) or hex (144)? Good luck. Chuck -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Dave Kopischke Sent: Thursday, May 10, 2007 3:00 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Access Method Services messages? On Thu, 10 May 2007 14:15:39 -0400, Jack Kelly wrote: snip COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. snip generally all of vsam rc are explained in msgIDC3009I. RC90 (delete error) doesn't seem to make much sense unless it's the application's RC not vsam's. I can't find my COBOL VSAM book right now, but I believe there were multiple reasons for several of those status codes depending on what you are doing. A 90 on an OPEN would be different than a 90 on a read which is different than a 90 on a CLOSE. 90 is probably not even a valid status code for OPEN and CLOSE, but the point remains that the status code will mean different things depending on the action. I think a 90 on a read is an invalid request. After that, you'd have to interrogate the second status code to get a more exact reason for the failure. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
On 11 May 2007 04:08:24 -0700, in bit.listserv.ibm-main you wrote: Try this link to IBM's manuals on the 'net: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M671/12.4 16?SHELF=EZ2ZO10IDT=20070118143320CASE= This will take you to the IDC3009 message. However, two questions I have is 1) what is the 90, reason code or return code? And 2) is it decimal (90) or hex (144)? If the status code is what the COBOL program is getting, that is a COBOL and not a VSAM code. There will be nothing in the JCL listing since COBOL is trapping and processing the error. In order to get the VSAM codes follow the instructions in the COBOL manual which also have been posted in other messages here. Good luck. Chuck -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Behalf Of Dave Kopischke Sent: Thursday, May 10, 2007 3:00 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Access Method Services messages? On Thu, 10 May 2007 14:15:39 -0400, Jack Kelly wrote: snip COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. snip generally all of vsam rc are explained in msgIDC3009I. RC90 (delete error) doesn't seem to make much sense unless it's the application's RC not vsam's. I can't find my COBOL VSAM book right now, but I believe there were multiple reasons for several of those status codes depending on what you are doing. A 90 on an OPEN would be different than a 90 on a read which is different than a 90 on a CLOSE. 90 is probably not even a valid status code for OPEN and CLOSE, but the point remains that the status code will mean different things depending on the action. I think a 90 on a read is an invalid request. After that, you'd have to interrogate the second status code to get a more exact reason for the failure. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
In [EMAIL PROTECTED], on 05/10/2007 at 12:21 PM, Patrick Lyon [EMAIL PROTECTED] said: List - I am having a terrible time finding an AMS messages and codes manual. Unless something has changed, there is none. Look in System Messages for IDC messages. We have a batch COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. That wouldn't be in an AMS manual. Look in the VSAM documentation. At one point IBM moved the VSAM programming documentation into the same manuals as BPAM, BSAM and QSAM; I don't know whether it's still all together or whether IBM has split them again. -- 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
Patrick Lyon wrote: List - I am having a terrible time finding an AMS messages and codes manual. Didn't they incorporate that with SMS way back when? We have a batch COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. The user indicates a 90 as an unknown error. I would like to see IBM's explanation of it. Unfortunately there isn't any system messages produced in the job that indicate a problem with the file to go off of. Could someone be so kind to point me to the correct manual with VSAM return codes? Thanks in advance, Patrick Lyon First, I would look at the COBOL Programmers Guide chapter on Processing VSAM Files, the section Handling Errors in VSAM files. Here you will see you can specify 3 file status data items. Give that a try. The second and third file status items correspond to the under-the-covers VSAM values; add a DISPLAY of these items after the write if file status is on 00 Second, go to the doc DFSMS Macro Instructions for Data Sets; In Chapter 3, under the section Record Management Return and Reason codes is where you find the values and their meanings, such as they are. Hope this helps. Kind regards, -Steve Comstock The Trainer's Friend, Inc. 303-393-8716 http://www.trainersfriend.com z/OS Application development made easier * Our classes include + How things work + Programming examples with realistic applications + Starter / skeleton code + Complete working programs + Useful utilities and subroutines + Tips and techniques -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
You should have received an IDC3351I message that would document the I/O return and reason codes. Larry Crilley Dino Software Corp. Home of REORGadon: The world's first REORG While-OPEN tool for HSM http://www.dino-software.com/ 412.366.3566 -Original Message- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Lyon Sent: Thursday, May 10, 2007 1:22 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Access Method Services messages? List - I am having a terrible time finding an AMS messages and codes manual. Didn't they incorporate that with SMS way back when? We have a batch COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. The user indicates a 90 as an unknown error. I would like to see IBM's explanation of it. Unfortunately there isn't any system messages produced in the job that indicate a problem with the file to go off of. Could someone be so kind to point me to the correct manual with VSAM return codes? Thanks in advance, Patrick Lyon -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
If you have QW, do QW STATUS. +---+--+---+-| | 9 | Implementor- | 0 | 1. For multithreading only: A CLOSE | | | defined | | of a VSAM or QSAM file was | | | condition| | attempted on a thread that did not | | | | | open the file. | | | | | | | | | | 2. Without multithreading: For VSAM | | | | | only: See the information on VSAM | | | | | return codes in the Enterprise | | | | | COBOL Programming Guide.| | | +---+-| For bookread, search on STATUS (case sensitive) 6.1.8.9.1 File status key same info Underlying problem is probably the programmer didn't define and display the second status field which shows VSAM rc/fdbk. 4.2.13 FILE STATUS clause© Copyright IBM Corp. 1991, 2004 Topic lines 1 to 36 of 76 The FILE STATUS clause monitors the execution of each input-output operation for the file. When the FILE STATUS clause is specified, the system moves a value into the file status key data item after each input-output operation that explicitly or implicitly refers to this file. The value indicates the status of execution of the statement. (See the file status key description under Common processing facilities in topic 6.1.8.9.) data-name-1 The file status key data item can be defined in the working-storage, local-storage, or linkage sections as either of the following: A two-character alphanumeric item A two-character numeric data item, with explicit or implicit USAGE IS DISPLAY. It is treated as an alphanumeric item. data-name-1 must not contain the PICTURE symbol 'P'. data-name-1 can be qualified. The file status key data item must not be variably located; that is, the data item cannot follow a data item that contains an OCCURS DEPENDING ON clause. data-name-8 Must be defined as a group item of 6 bytes in the working-storage section or linkage section of the data division. Specify data-name-8 only if the file is a VSAM file (that is, ESDS, KSDS, RRDS). IBM Mainframe Discussion List IBM-MAIN@BAMA.UA.EDU wrote on 05/10/2007 01:21:37 PM: List - I am having a terrible time finding an AMS messages and codesmanual. Didn't they incorporate that with SMS way back when? We have a batch COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. The user indicates a 90 as an unknown error. I would like to see IBM's explanation of it. Could someone be so kind to point me to the correct manual with VSAM return codes? Thanks in advance, Patrick Lyon - The information contained in this communication (including any attachments hereto) is confidential and is intended solely for the personal and confidential use of the individual or entity to whom it is addressed. The information may also constitute a legally privileged confidential communication. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this communication in error and that any review, dissemination, copying, or unauthorized use of this information, or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. Thank you -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
snip COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. snip generally all of vsam rc are explained in msgIDC3009I. RC90 (delete error) doesn't seem to make much sense unless it's the application's RC not vsam's. Jack Kelly LA Systems @ US Courts x 202-502-2390 -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
Pat, This takes me back a bit. A 90 was usually an Open Request failure for an empty VSAM file. I believe you get it on a close of an unopened file also. Perhaps return codes from OPEN ACB would be a good start. Kevin -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: Access Method Services messages?
On Thu, 10 May 2007 14:15:39 -0400, Jack Kelly wrote: snip COBOL job that gets a return code of 90 when it attempts to write a record to a VSAM file. snip generally all of vsam rc are explained in msgIDC3009I. RC90 (delete error) doesn't seem to make much sense unless it's the application's RC not vsam's. I can't find my COBOL VSAM book right now, but I believe there were multiple reasons for several of those status codes depending on what you are doing. A 90 on an OPEN would be different than a 90 on a read which is different than a 90 on a CLOSE. 90 is probably not even a valid status code for OPEN and CLOSE, but the point remains that the status code will mean different things depending on the action. I think a 90 on a read is an invalid request. After that, you'd have to interrogate the second status code to get a more exact reason for the failure. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html