In my SQL query there is one null indicator i know this value is always null.I want to store this null value into my output file with default value.i need to know how i can store default value without handling -305 sql code.
Is there any Sql QUERY to handle and store default value to output file?
Can anyone explain me detail about DBRM,PLAN, package and collection.
Following are what is understand in the above
DBRM: During pre-compilation time SQL code extarcted from cobol-db2 program and stored into DBRM.
Package: It contains the DBRM send it to bind plan check security access for authorization.
Plan: It contains executable path and check security access for authorization.
Collection:It contains region to say which DB2 region program is binded.
Please do the needfull.
db2 to handle and store default value to output file
-
- Posts: 3
- Joined: Mon Oct 12, 2009 9:43 am
- Skillset: Cobol,DB2,VSAM,SAS,JCL,CICS
- Referer: Friend
Re: db2
[quote="nnina"]I my SQL query there is one null indicator i know this value is always null.I want to store this null value into my output file with default value.i need to know how i can store default value without handling -305 sql code.
Is there any Sql QUERY to handle and store default value to output file?
Can anyone explain me detail about DBRM,PLAN, package and collection.
Following are what is understand in the above
DBRM: During pre-compilation time SQL code extarcted from cobol-db2 program and stored into DBRM.
Package: It contains the DBRM send it to bind plan check security access for authorization.
Plan: It contains executable path and check security access for authorization.
Collection:It contains region to say which DB2 region program is binded.
Please do the needfull.
Is there any Sql QUERY to handle and store default value to output file?
Can anyone explain me detail about DBRM,PLAN, package and collection.
Following are what is understand in the above
DBRM: During pre-compilation time SQL code extarcted from cobol-db2 program and stored into DBRM.
Package: It contains the DBRM send it to bind plan check security access for authorization.
Plan: It contains executable path and check security access for authorization.
Collection:It contains region to say which DB2 region program is binded.
Please do the needfull.
- dick scherrer
- Global moderator
- Posts: 6268
- Joined: Sat Jun 09, 2007 8:58 am
Re: db2
Hello,
http://publibz.boulder.ibm.com/cgi-bin/ ... /2.1.6.113
See if the attached info will clarify. . .
d
Read here about the specifics of the -305 sql code"i need to know how i can store default value without handling -305 sql code.
http://publibz.boulder.ibm.com/cgi-bin/ ... /2.1.6.113
Can anyone explain me detail about DBRM,PLAN, package and collection.
See if the attached info will clarify. . .
d
You do not have the required permissions to view the files attached to this post.
Hope this helps,
d.sch.
d.sch.