Posted: Mon Feb 15, 2016 1:19 pm Post subject: INVALID FILE NUMBER - Error code 72 while reading KSAM file
I am facing INVALID FILE NUMBER error no. 72 with STATUS 9H while using CKREADBYKEY for KSAM file. File is opened properly with STATUS = 0 and file number(00015) is correct at the time of open but when control is coming to READBYKEY its changing FILE NUMBER(08224) somehow and failing there showing READ ERROR like below -:
IMF READ ERROR 0072
IMF STATUS 9H
Also below is the syntax coded for CKREADBYKEY -
CALL "CKREADBYKEY" USING IMF-FILETABLE, IMF-STATUS,
IMF-REC, IMF-NOM-KEY, IMF-KEYLOC, IMF-RECLEN.
Well, HP do not make Mainframes. IBM does. KSAM might be "nothing but indexed" but I don't know anything about it. Plus only you can see the code in it.
Apart from a pornographic spammer and myself, there is no-one active on this site. So contact your site support (if you have such a thing), colleagues, HP technical support, or find a forum for HP COBOL with KSAM or even just get down and work it out yourself.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum