Then you used ACCEPT to try and put data into it.As billy pointed out, you're also doing the start more than once. We are providing the... There is more to making the Internet work for your company's business than just having a nice looking WEB site. Jobs Send18 Whiteboard Net Meeting Tools Articles Facebook Google+ Twitter Linkedin YouTube Home Tutorials Library Coding Ground Tutor Connect Videos Search Learn VSAM VSAM - Home VSAM - Overview VSAM - news
Check the ASSIGN(EXTERNAL) directive and possible environment variable setting for the COBOL file name. 9005 05 Illegal device specification. 9006 06 Attempt to write to a file opened for input. 9007 We have a team of individuals that understand the broad range of technologies being used in today's environments. Company Overview Founded in 1987, SimoTime Technologies is a privately owned company. MVSFORUMS.com Forum Index -> Data Management View previous topic :: View next topic Author Message Anand_RIntermediateJoined: 24 Dec 2002Posts: 189Topics: 60 Posted: Fri Nov 14, 2003 3:00 pm Post subject: see here
Therefore, the file status key may not always be a numeric value that is easy to display. WORKING-STORAGE SECTION. 01 ACC. 02 ACCNO PIC X(10). 02 YEAR PIC X(4). If you don't get a clean start, you can't do a read.I would do something like this in stages. Following are the common file status codes with their description which will help you to resolve the issues: CodeDescription 00Operation completed successfully 02Non-Unique Alternate Index duplicate key found 04Invalid fixed length
Copyright © 1987-2016SimoTime TechnologiesAll Rights Reserved File Status Key Overview The ANS/85 standard provides for a two-byte File-Status-Key. DISPLAY FS. Note: If status-key-1 is a nine (9) then status-key-2 is "implementer-defined". Vsam File Status 35 The ascending key requirements of successive record key values has been violated or the prime record key value has been changed by a COBOL program between successful execution of a READ
Current Server or Internet Access The following links may be to the current server or to the Internet. Vsam File Status 92 While Writing BillyBoyo Global moderator Posts: 3738Joined: Tue Jan 25, 2011 12:02 am Hasthanked: 22 times Beenthanked: 255 times Top Re: i get logic error 92 when i run this code by Comments or Feedback This document was created and is copyrighted and maintained by SimoTime Technologies. http://www.ibmmainframeforum.com/ibm-cobol/topic6265.html Refer to the section for Status-Key-1 being equal to "3" for additional information based on Status-Key-2. 4Logic Error, a program is attempting a file access function in an improper sequence or
checking VSAM status codes Hope this helps... File Status 39 In Cobol This includes the smallest thin client using the Internet and the very large mainframe systems. Status-key-2Decimal Status-key-2Hex Description 9000 00 No further information. 9001 01 Insufficient buffer space. Could also indicate an out of memory situation. 9002 02 File not open when access tried. 9003 03 Serial mode error. 9004 04 Illegal file name.Micro Focus, the COBOL file name
The Recording Mode is Variable or Fixed or not defined the same as when the file was created. 3. https://sites.google.com/site/mainframeprogrames/vsam-file-status-codes I can't tell which, but whichever your program is wrong. File Status 92 In Cobol The error may be caused by an invalid key or the sequence of processing for a valid key. Vsam File Status 22 The documentation and software were developed and tested on systems that are configured for a SimoTime environment based on the hardware, operating systems, user requirements and security requirements.
FILE SECTION. navigate to this website DISPLAY FS. ENVIRONMENT DIVISION. Just do the Start and display the status code.If that's all correct, then add the read back in, but add some code to check THAT status code too.I also think you're Vsam File Status 23
i then edited the procedure division as follows still i get file status 92. that is why I think the first is most likely). Refer to the section for Status-Key-1 being equal to "2" for additional information based on Status-Key-2. 3Permanent Error, usually caused by a limit in the logical processing or a difference in http://forumyaren.com/file-status/vsam-39-error.php ermanent I/O Error ermanent I/O Error - Record outside file boundary PEN, but file not found PEN with wrong mode ried to OPEN a LOCKed file PEN failed, conflicting file attributes
cheers kolusu Back to top Anand_RIntermediateJoined: 24 Dec 2002Posts: 189Topics: 60 Posted: Sun Nov 16, 2003 7:16 pm Post subject: Yes it did work.. .thanks a lot for ur help kolusu...U check this link for sample porgram to check the status codes. either in a "loop" or you will eventually do a START which gets EOF and then you do a READ = logic error.
Note:A SimoTime License is required for the items to be made available on a local system or server. The value is placed in the status key before execution of any EXCEPTION/ERROR declarative or INVALID KEY/AT END phrase associated with the request. Refer to the section for Status-Key-1 being equal to "9" for additional information based on Status-Key-2. This can be caused by issuing a read after the end-of-file has been reached during sequential processing. 9149 95 Wrong open mode or access mode for REWRITE/ DELETE. 9150 96 Program
In the world of programming there are many ways to solve a problem. If you have any questions, suggestions, comments or feedback please call or send an e-mail to: [email protected] We appreciate hearing from you. and my input file isSelect all13106125952011081601CR100000013106125952011081602CR110000013106125952011081603CR120000013106125952011081604DB010000013106125952011081605DB030000013106125952011081606DB110000013106125952011081701DB110000013106125952011081801DB110000013106125952011081901DB110000013106125952011082601CR110000013106125952011082801CR120000013106125962011081701DB110000013106125962011081801DB110000013106125962011081901DB110000013106125972011081701DB1100000when givem a key/partial key the read should be random first and then sequential as like reading all the bank statements in 6th month.can any one click site A good place to start is The SimoTime Home Page via Internet Connect for access to white papers, program examples and product information.
An attempt has been made to access a record, identified by a key, and that record does not exist in the file. Comment out the perform and display the "log" variable.If that's right, then go ahead and do the perform, but comment out the read. STOP RUN. Explore The Micro Focus Web Site via Internet Connect for more information about products and services available from Micro Focus.
Ed Goodman Posts: 342Joined: Thu Feb 24, 2011 12:05 am Hasthanked: 3 times Beenthanked: 17 times Top Re: i get logic error 92 when i run this code by jophine89 The first group of documents may be available from a local system or via an internet connection, the second group of documents will require an internet connection. Primary File Status The first character of the File-Status-Key is known as status-key-1; the second character is known as status-key-2. DISPLAY FS.
Thanks Anand Back to top kolusuSite AdminJoined: 26 Nov 2002Posts: 11556Topics: 74Location: San Jose Posted: Sat Nov 15, 2003 11:16 am Post subject: Anand, If I understand you correctly, you have Extended File Status, nnn-xx The first character of the File-Status-Key is known as status-key-1. Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate PROCEDURE DIVISION.
BillyBoyo Global moderator Posts: 3738Joined: Tue Jan 25, 2011 12:02 am Hasthanked: 22 times Beenthanked: 255 times Top Re: i get logic error 92 when i run this code by SimoTime Technologies shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, Anand Back to top Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 YearOldest FirstNewest First MVSFORUMS.com Forum Index -> Data Management All times are GMT - I know it is logic error, but what does it mean..
PROGRAM-ID. You also said that is was a VSAM file. Refer to the section for Status-Key-1 being equal to "1" for additional information based on Status-Key-2. 2Invalid Key, an attemprt to access a file failed because the requested key is not Alternatively a START or READ operation has been tried on an optional input file that is not present. 24 Relative and indexed files only.
Downloads & Links This section includes links to documents with additional information that are beyond the scope and purpose of this document.