Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Please explain this SQL CODE.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
tamminenisidhartha
Currently Banned

New User


Joined: 31 Oct 2012
Posts: 43
Location: INDIA

PostPosted: Wed Mar 13, 2013 5:05 pm    Post subject: Please explain this SQL CODE.
Reply with quote

Hi all,
I am trying to create a package.
But I am getting SQLCODE = -206.
I have gone through this link: http://pic.dhe.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fcom.ibm.db2z9.doc.codes%2Fsrc%2Ftpc%2Fdb2z_sqlcodes.htm

But I could understand what I should correct.

Could anyone please explain why the error actually occurs ?

The step abending is

//STEP5 EXEC PGM=IKJEFT01
//DBRMLIB DD DSN=FSS310.HRIT.DBRM,DISP=SHR
//STEPLIB DD DSN=SYS1.DSNDBZ.SDSNLOAD,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//UTPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
/*
//SYSTSIN DD *
DSN SYSTEM(DBZ)
BIND PACKAGE(PCKCLL) MEMBER(MIT001) -
LIBRARY('FSS310.HRIT.DBRM') -
ACTION(ADD) -
OWNER(EXT99) -
QUALIFIER(EXT99) -
VALIDATE(BIND) -
ISOLATION(CS) ENABLE(*)
END
/*
Back to top
View user's profile Send private message

tamminenisidhartha
Currently Banned

New User


Joined: 31 Oct 2012
Posts: 43
Location: INDIA

PostPosted: Wed Mar 13, 2013 5:18 pm    Post subject:
Reply with quote

The problem is solved.
Please don't reply.

Thank you all.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 13, 2013 6:19 pm    Post subject:
Reply with quote

Thanks for the follow up, however, it'd be nice if you can share the solution you've used.
Back to top
View user's profile Send private message
tamminenisidhartha
Currently Banned

New User


Joined: 31 Oct 2012
Posts: 43
Location: INDIA

PostPosted: Thu Mar 14, 2013 3:39 pm    Post subject:
Reply with quote

@Anuj Dhawan
The table we are trying to access, doesn't exist.
So we created a table and then executed the step mentioned above in the topic.
It is executing successfully now.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Thu Mar 14, 2013 3:43 pm    Post subject:
Reply with quote

So why did you get -206 ? You should have got -204
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us