What is copy book?
Answer / rana
Copybook is the Facility provided to programmer for putting
the variables or COBOL Code which is common to many
programs. This helps programmer to optimize the code and
able to write the error free code.
Copybook gets included into the program at the time of
compilation from the PDS.
Is This Answer Correct ? | 12 Yes | 1 No |
what are the max. & min. no. of partitions allowed in a partition tablespace?
what is difference between Static call and Dynamic call? How does it function?
What is the SQL Communications Area and what are some of its key fields?
What is the meaning of -805 SQL return code?
What do the initials DDL and DML stand for and what is their meaning?
COBOL PRECOMPILER ERROR: "XXXXXX" (TABLE) PREVIOUSLY DECLARED OR REFERENCED DCLGEN VARIABLES GETS IMPORTED TWICE FOR ONLY ONE EXEC SQL STATEMENT. WHAT COULD BE THE PROBLEM?
How is deadlock resolved?
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)
select distinct(empid),distinct(dept),name from EMP will the above query work?
What is the purpose of the DSNC transaction ?
What is a cursor and what is its function?
What is copy book?