home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!stanford.edu!unixhub!fnnews.fnal.gov!overload.lbl.gov!zeus.ieee.org!europa.asd.contel.com!paladin.american.edu!auvm!UTMARTN.BITNET!##09
- Message-ID: <09NOV92.18043480.0015.MUSIC@UTMARTN>
- Newsgroups: bit.listserv.ibm-main
- Date: Mon, 9 Nov 1992 16:42:24 CST
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- From: Larry Holder <##09@UTMARTN.BITNET>
- Subject: problem opening a vsam file
- In-Reply-To: In reply to your message of MON 09 NOV 1992 15:05:09 CST
- Lines: 32
-
- > A student teaching assistant here has a VS COBOL II program which attempts
- > to open a VSAM KSDS file which is varying in record length and also has an
- > alternate index with duplicate entries. The file and its index were just
- > defined so there is no data in the cluster or its aix component. She wants
- > to open the file for the purpose of populating it with data. Unfortunately, an
- > when the program attempts to OPEN OUTPUT the file, the program abends and
- > displays the following error message:
- >
- > 4228I FILE SYS09 OPEN ERROR X'64'(100) CAT IJSYSUC
- >
- > The contents of the KSDS file's status key = 39 at this point.
-
- Stan:
- The VSAM error code X'64' for an OPEN says: "OPEN encountered an empty
- alternate index that is part of an upgrade set."
- Checking the COBOL-II Appl Pgming Guide, page 218 says "...After you
- have defined the alternate index and the path and have loaded the
- VSAM indexed file, you can specify a BLDINDEX command to load the
- alternate index with index records..."
- I'm rusty on this topic, but it sounds like you need to load the
- KSDS without reference to any ALTERNATE RECORD KEY, and "then" do a
- build for the alternate index via IDCAMS.
- If I'm wrong, someone please jump in and correct me. The original
- message indicated a need for a quick reply.
-
- Larry Holder, Sr. Programmer/Analyst Bitnet: ##09@UTMARTN
- The University of Tennessee at Martin Phone: 901-587-7890
- Martin, TN 38238 Fax: 901-587-7841
-
- Software: VM/ESA 1.0, VSE/ESA 1.1, CICS/VSE 2.1, COBOL-II, DL/I, SQL/DS
- Hardware: IBM 9221-150 with 9336 FBA dasd
- PSW: (Personal Status Words): Saved by grace (Romans 1:16 & 8:38)
-