Therefore, the file status key may not always be a numeric value that is easy to display. STOP RUN. STOP RUN. 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 http://gmailpush.com/file-status/vsam-return-code-is-8-with-error-code-of-92.html
i got the output...the mistake was not in code but the way i loaded the data in ksds... OPEN INPUT FILE1. Refer to the section for Status-Key-1 being equal to "0" for additional information based on Status-Key-2. 1End of File, attempting to read beyond the end of 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.
Hi, Can some one elaborate me what is the file status 92 , while reading the vsam file. Other possible causes are: 1. If you are trying to read a file of log records and display matches in the VSAM file, the last record in the VSAM file will be displayed once for each
BANKTRAN. The second character is known as status-key-2 additional detail. The error may be caused by an invalid key or the sequence of processing for a valid key. Vsam File Status 23 This document may be used to assist as a tutorial for new programmers or as a quick reference for experienced programmers.
either in a "loop" or you will eventually do a START which gets EOF and then you do a READ = logic error. File Status 92 In Cobol Extended File Status, nnn-xx The first character of the File-Status-Key is known as status-key-1. For the COBOL environment if the FILE STATUS clause is specified in the FILE-CONTROL entry, a value is placed in the specified status key (the 2-character data item named in the http://www.simotime.com/vsmfsk01.htm Possible causes:Attempting to write beyond the externally defined boundaries of a file.Attempting a sequential WRITE operation has been tried on a relative file, but the number of significant digits in the
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 Vsam File Status 93 WORKING-STORAGE SECTION. 01 ACC. 02 ACCNO PIC X(10). 02 YEAR PIC X(4). Hope this helps... SimoTime Services has experience in moving or sharing data or application processing across a variety of systems.
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 check the access mode in file declaration. Vsam File Status 92 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 Vsam File Status 92 While Writing 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.
PROCEDURE DIVISION. news CLOSE FILE1. Therefore, the file status-key-2 may not always be a numeric value that is easy to display. Thanks Anand Back to top kolusuSite AdminJoined: 26 Nov 2002Posts: 11556Topics: 74Location: San Jose Posted: Fri Nov 14, 2003 3:35 pm Post subject: Anand, A couple of things to check for Vsam Return Codes
Indicates a duplicate key condition. jophine89 Posts: 4Joined: Wed Jul 27, 2011 2:30 pm Hasthanked: 0 time Beenthanked: 0 time Top Re: i get logic error 92 when i run this code Top Re: Attempt has been made to store a record that would create a duplicate key in the indexed or relative file OR a duplicate alternate record key that does not allow duplicates. have a peek at these guys Similarly, once you do the START you do not check to see if the file status is good -- and I've seen a lot of START commands return file status codes
If you have lots of programs getting these, which weren't before, I'd guess you have either an empty file or a file truncated before the keys that you are using (in Vsam File Status 35 Company Overview Founded in 1987, SimoTime Technologies is a privately owned company. All Rights Reserved.
cheers kolusu Back to top Anand_RIntermediateJoined: 24 Dec 2002Posts: 189Topics: 60 Posted: Fri Nov 14, 2003 4:11 pm Post subject: Thanks for ur reply Kolusu.. PERFORM UNTIL FLAG = 'N' READ FILE1 NEXT AT END MOVE 'N' TO FLAG END-READ DISPLAY BK SPACE FS END-PERFORM. MAIN-RTN. File Status 39 can you help me out..
The value indicates the status of that request. The following tables contain file-status-key content that may be set by Micro Focus COBOL (Mainframe Express or Net Express) or an IBM Mainframe System (MVS, OS/390 or ZOS). Also, check to see if the path to the file concerned exists (Micro Focus). 14 Relative files only. check my blog Explore the non-Relational Data Connection for more examples of accessing methodologies and coding techniques for Data Files and VSAM Data Sets.
Explore the Assembler Connection for more examples of mainframe Assembler programming techniques and sample code. MOVE '1310612595' TO LOG. 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 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. DISPLAY FS. You, at best, get START, START, READ, START, READ, START, READ... These tables are provided for individuals that need to better understand the bit structures and differences of the encoding formats.
Note:A SimoTime License is required for the items to be made available on a local system or server. jophine89 Posts: 4Joined: Wed Jul 27, 2011 2:30 pm Hasthanked: 0 time Beenthanked: 0 time Top Re: i get logic error 92 when i run this code by BillyBoyo » FILE-CONTROL. I want to conver that file from sequential to dynamic..
READ FILE1 NEXT AT END MOVE 'N' TO FLAG END-READ. Convert this file into a RRDS or KSDS which allows dynamic access mode. Copyright © 1987-2016SimoTime TechnologiesAll Rights Reserved File Status Key Overview The ANS/85 standard provides for a two-byte File-Status-Key. We have made a significant effort to ensure the documents and software technologies are correct and accurate.
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 READ-SEQ. nopt only this program but the cobol file concept programs which were executing correctly are are also throwing file status 92, 23 etc..PROCEDURE DIVISION. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Technologies.
Note: If status-key-1 is a nine (9) then status-key-2 is "implementer-defined". ie FD section.Make sure that it matches the listcat info of the vsam file. 2. We reserve the right to make changes without notice at any time.
© Copyright 2017 gmailpush.com. All rights reserved.