If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
can I copy book which contain db2 statment in procedure divion?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
wht happens if we dnt give scope terminator ?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
how to check whether the open command of a sequential file is successful? or not?
What is report-item?
Whats the difference between search & search ALL?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
Can we move X(7) to S9(7) COMP?