Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IDMS error 1494

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
View previous topic :: :: View next topic  
Author Message
rohitcognizant

New User


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

PostPosted: Sat Feb 23, 2008 9:05 pm    Post subject: IDMS error 1494
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: 55
Location: Pune India

PostPosted: Sat Feb 23, 2008 9:08 pm    Post subject:
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    Post subject: DBNAME specified might be wrong
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    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts DB2 SQL Error: SQLCODE=-440, SQLSTATE... kishpra DB2 1 Sat Feb 18, 2017 2:31 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us