What is the purpose of the SDSNLOAD dataset in the STEPLIB
while running DB2 programs?
Answers were Sorted based on User's Feedback
Answer / guest
THE SDSNLOAD load library allows the batch job to access
the DB2 load modules.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / siva
It is not mandatory that we should use SDSNLOAD. I hope, it
is only used to run DB2 utilities. Not required to run DB2
program through IKJEFT01
| Is This Answer Correct ? | 3 Yes | 9 No |
Is DECLARE TABLE in DCLGEN necessary? Why it used?
What is the significance of DB2 free space and what parameters control it?
What techniques are used to retrieve data from more than one table in a single SQL statement?
What is multi row fetch in db2?
If I have a view which is a join of two or more tables, can this view be updateable?
What is the difference between IN subselects and EXISTS subselect?
Is ibm db2 free?
What is package in db2 mainframe?
What are the 2 sqlcodes that are returned?
In SPUFI suppose you want to select maximum of 1000 rows, but the select returns only 200 rows. What are the 2 SQLCODEs that are returned?
In a Cobol-DB2 program, I am fetching rows from 4 tables using cursor and then based on the a field present in that table, It processes the information accordingly..for example stat-c is one digit field..if stat-c is 'D' then the a row is deleted from table and written those details in to a file. If the stat-c is 'U' then a row is updated (hardcoded what to update)in a table and written those details in to a file. If the stat-c is 'I' then a row is inserted in a table and written those details in to two files. The issue is i have to include the intermediate commits. When an abend occurs, due to commit statement db2 tables will be saved, But there will be lose of file contents. When we resubmitting the job associated with this program there will be insert ,update and delete anomolies to avoid that what measures could be taken?. The intermediate commit is nothing but issuing commit after massive inserts, updates and deletes(sum of 500actions)
If we keep the DCLGEN structure for a table in a copybook and include it in the COBOL program using the COPY statement, will there be any impact during compilation or at any stage of program execution?