FILE SECTION. 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: 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 DISPLAY FS. this content
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. The combinations of possible values and their meanings are shown below with some comments where vendor additions or extensions may occur. That would tell you a LOT. An attempt has been made to access a record, identified by a key, and that record does not exist in the file.
StatusKey-1Description by Group 0Successful Completion or non-terminal condition that may be acceptable to continue processing. 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 can you help me out.. DISPLAY FS.
Usually, it may come when file was not closed. for example, Comments Sign in|Recent Site Activity|Report Abuse|Print Page|Powered By Google Sites The request cannot be fulfilled by the server The 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, You, at best, get START, START, READ, START, READ, START, READ... Vsam File Status 46 SimoTime Services has experience in moving or sharing data or application processing across a variety of systems.
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 For an OPEN or CLOSE statement with the REEL/UNIT phrase the referenced file is a non-reel/unit medium. 08 Attempted to read from a file opened for output. 09 No room in https://www.tutorialspoint.com/vsam/vsam_file_status.htm Why are you doing this?
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 File Status 39 Alternate indexes are incorrectly defined (Key length or position, duplicates or sparse parameters). 2. There is more to making the Internet work for your company's business than just having a nice looking WEB site. A good place to start is The SimoTime Home Page via Internet Connect for access to white papers, program examples and product information.
This document may be used to assist as a tutorial for new programmers or as a quick reference for experienced programmers. http://www.simotime.com/vsmfsk01.htm 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 Vsam File Status 92 In Cobol Explore the Assembler Connection for more examples of mainframe Assembler programming techniques and sample code. Vsam File Status 97 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.
FILE-CONTROL. news About Us MAINFRAMESTECHHELP is a mainframe community and created to provide the help for all mainframes related technical needs for the people who are all in need. MOVE '1310612595' TO LOG. If you don't get a clean start, you can't do a read.I would do something like this in stages. Vsam File Status 93
The second character is known as status-key-2 additional detail. either in a "loop" or you will eventually do a START which gets EOF and then you do a READ = logic error. go
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). File Status 90 In Cobol You have reached the end of the file. 12 Attempted to open a file that is already open. 13 File not found. 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
We reserve the right to make changes without notice at any time. Hope this helps... 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. We appreciate hearing from you.
Then you used ACCEPT to try and put data into it.As billy pointed out, you're also doing the start more than once. I have checked it out, and there is a conflict in file definitions.. OPEN INPUT FILE1. check my blog Once the fee is received by SimoTime the latest version of the software, documentation or training material will be delivered and a license will be granted for use within an enterprise,
© Copyright 2017 gmailpush.com. All rights reserved.