IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IDMS error 1494


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rohitcognizant

New User


Joined: 13 Feb 2007
Posts: 54
Location: Pune India

PostPosted: Sat Feb 23, 2008 9:05 pm
Reply with quote

hi

i got an idms error 1494 when i was runnung a DB2-IDMS program
the spool out put after error was
LNK-DBNAME IS=DB03IROS
FOR SB
DB-STATUS AFTER BIND IS-1494

The following is the piece of cobol-idms code where it abended
MOVE 'DB03IRAS' TO LNK-DBNAME
DISPLAY 'LNK-DBNAME IS=' LNK-DBNAME
BIND RUN-UNIT DBNAME LNK-DBNAME

BIND SHAROWNER
DISPLAY 'FOR SB'
DISPLAY 'DB-STATUS AFTER BIND IS-' ERROR-STATUS

IF NOT DB-STATUS-OK
PERFORM IDMS-STATUS
END-IF

ON CHECKIN INTERNET I FOUND THAT THE DB NAME THAT I REFERENCED MAY NOT BE PRESENT IN THE DATABASE NAME TABLE

The following is my runjcl
//**jobcard statement
//**load libraries
//JOBLIB DD DSN=AT.W.TEST.LINKLIB,DISP=SHR
// DD DSN=AT.IDMS.LINKLIB,DISP=SHR
// DD DSN=SBT.S.STIDMSW.LINKLIB,DISP=SHR
// DD DSN=KEW.S.FASTSW.LOADON,DISP=SHR
// DD DSN=KEW.S.IDMS.LINKLIB,DISP=SHR
// DD DSN=ADB.W.DSNLOAD,DISP=SHR

//STTBDT05 EXEC PGM=IKJEFT01
//SYSTSIN DD *

DSNECP00 SYSTEM(DBB0)
RUN PROGRAM(DBNASTEM) PLAN(STPBSHRP)
END
//DBNAMES INCLUDE MEMBER=TDBLI66A &DBDDS
I1//DBJRNLTP DD DUMMY
I1//SYSIDMS DD DSN=ST.TEST.CARDLIB(DXKKLM18),DISP=SHR
I1// DD DSN=ST.TEST.CARDLIB(I16A),DISP=SHR
//DBJRNLTP INCLUDE MEMBER=TT1
I1//SYSJRNL DD DUMMY

//*INPUT FILES
//*OUTPUT FILES

THERE IS A DB2 ERROR OCCURING JUST BEFORE THIS STEP BUT I HAVE
RESET THE RETRIEVAL RESULT OF THE DB2 QUERY.i hope that return code wont pose any threat to IDMS bind.

CAN ANYONE HELP ME IN SOLVING THIS???
Back to top
View user's profile Send private message
rohitcognizant

New User


Joined: 13 Feb 2007
Posts: 54
Location: Pune India

PostPosted: Sat Feb 23, 2008 9:08 pm
Reply with quote

hi
these four line are there b/w the steps
JOBLIB & STTBDT05
/*JOBPARM K=0
/*ROUTE XEQ DBB0
/*ROUTE PRINT MBSST
// SET MODE=L <-

Thanks
Back to top
View user's profile Send private message
puviarasu

New User


Joined: 10 Mar 2008
Posts: 4
Location: India

PostPosted: Tue Mar 11, 2008 6:39 pm
Reply with quote

Its A BIND ERROR .. BIND RUN-UNIT

The DBNAME specified does not match any DBNAME defined in the Database Name Table or any segment defined in the DMCL. The status also results if a DBNAME defined in the DBNAME TABLE is invalid.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top