What will happen if a variable is declared as below..
Explain with an example?
Working storage section:-
01 WS-VARX PIC X(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).
Answer Posted / rookie
if you perform any arithmetic operation than comes the
question of any abend
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Name the sections present in data division.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What type of SDLC u followed? Why?
Explain what you understand by passing by value.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
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.
What is the difference between binary search and sequential search?
Explain the configuration section of a cobol program with examples of syntax.
What are various search techniques in cobol? Explain.
What is the difference between goback, stop run and exit program in cobol?
how do you reference the ksds vsam file formats from cobol programs
What is rmode(any) ?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?