This is my first post in this forum. Forgive me if I don't follow any forum
following are questions which I am unable to answer. Please give me answers to the following questions.
1)difference b/w Static and dynamic?
a)For static we will load subprogram along with mainprogram. Where as dynamic we don't
2)If you use static? will you load sub prog? and where can we find the subprogram load lib?
a) Main load library..Is this the correct ans?
3)how will you test the cobol+db2 program?
a) No ans from me?
4)Time stamp error? how will solve it ? vr will you find it? how can you know that there is a time stamp error?
a) I have explained him what is time stamp error. I could not tell him how to solve it.
5)If i want to skip the first step how can I do it?
a)I told him cond(0,LE) in the first step. But I am not sure.
6)Where will you code cursor? can we have where clause in cursor while we declare cursor in working storage section?
a) NO Answer from me
7)Any compiler option you know?
a) I told him about Arth(Extend).
8)In a instream proc if we forgot to give 'PEND' what will happen?
a) Jcl error
Let me know whether my answers are correct? Let me know the answers for which I am unable to answer.
Joined: 06 Jun 2008 Posts: 8165 Location: East Dubuque, Illinois, USA
5. Your answer is wrong. If you check the manual (link at the top of the page), you will find that COND on the first step of a job always evaluates as false so you can never bypass the first step using COND. This has been mentioned in this forum a number of times, too, so a search would have found that as well. The only way to not execute the first step is to remove it from the job.