Search found 8 matches
- Thu Dec 31, 2015 2:47 pm
- Forum: Interview Questions.
- Topic: Is the program called statically or dynamically?
- Replies: 9
- Views: 1094
Re: Is the program called statically or dynamically?
Just the usual. It is not possible that the enforced corruption of the English language to impose specific gender on non-gender-specific use of specific gender words means that people can't understand each other any more? Sad, but I guess it is possible. I'll note for future reference that whatever...
- Thu Dec 31, 2015 2:44 pm
- Forum: Interview Questions.
- Topic: DB2 Curosr declaration in procedure division and in WS Section.
- Replies: 4
- Views: 626
Re: DB2 Curosr declaration in procedure division and in WS Section.
For instance, consider CURSOR as a variable which you'll use in your program. In most of the languages, you can use the variable in the logic of the program later, only if it is declared somewhere before it is used. Same is the case with CURSOR, unless system has its definition, it won't recognize ...
- Thu Dec 31, 2015 2:39 pm
- Forum: Interview Questions.
- Topic: Passing vlaues to Linkage Section and abend.
- Replies: 4
- Views: 772
Re: Passing vlaues to Linkage Section and abend.
PGMA A PIC X(10) PGMB B PIC X(12) (Linkage Section) No possible abend just in doing it, but if B is used as a target for anything, it could destroy the two bytes immediately following A, which may or may not be significant. Why it can destroy the 2 bytes? We are passing "smaller area" to ...
- Thu Dec 31, 2015 12:29 pm
- Forum: Interview Questions.
- Topic: Is the program called statically or dynamically?
- Replies: 9
- Views: 1094
Re: Is the program called statically or dynamically?
Interviewers seem to think it is a question which separates the COBOL Men from the COBOL Boys. There is no practical benefit in knowing the answer. Although the question can be easily located by search-engineing, I'd guess there are also wrong answers out there. Are there some COBOL Women and COBOL...
- Thu Nov 19, 2015 12:16 pm
- Forum: Interview Questions.
- Topic: Is the program called statically or dynamically?
- Replies: 9
- Views: 1094
Is the program called statically or dynamically?
Hello, This is another question which I founf weird...how can one identify by seeing the program that it is called statically or dynamically? I don't know if there is a way. Both type of sub program will have PROCEDURE DIVISION USING... but will there be something different than this? After searchin...
- Thu Nov 19, 2015 11:27 am
- Forum: Interview Questions.
- Topic: DB2 Curosr declaration in procedure division and in WS Section.
- Replies: 4
- Views: 626
Re: DB2 Curosr declaration in procedure division and in WS Section.
Thanks Anuj. I knew that there is no difference but was not sure about the OPEN statement. Thanks for the clarification.
- Thu Nov 19, 2015 11:26 am
- Forum: Interview Questions.
- Topic: Passing vlaues to Linkage Section and abend.
- Replies: 4
- Views: 772
Passing vlaues to Linkage Section and abend.
Hi,
One of the question which was tough to answer was, if we are passing X(12) from a program PGM-A to other Program say PGM-B which has X(10) as receving field. If we do so, will it generate an abend? If yes, what abend will you get and if not, what happens to the extra 2 bytes which were passed?
One of the question which was tough to answer was, if we are passing X(12) from a program PGM-A to other Program say PGM-B which has X(10) as receving field. If we do so, will it generate an abend? If yes, what abend will you get and if not, what happens to the extra 2 bytes which were passed?
- Wed Nov 18, 2015 1:54 pm
- Forum: Interview Questions.
- Topic: DB2 Curosr declaration in procedure division and in WS Section.
- Replies: 4
- Views: 626
DB2 Curosr declaration in procedure division and in WS Section.
Hi,
If we declare the curosr in procedure division and if we declare it in WS Section, wil lthat make any difference in the two? If yes, what are the differneces.
If we declare the curosr in procedure division and if we declare it in WS Section, wil lthat make any difference in the two? If yes, what are the differneces.