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 / ankur
after redefining we can also move alphabetic to numeric or
numeric to alphabetic field . mathematical operation is
different . if we go for that it will give s0c7.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is redefines clause in COBOL?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
) what is the difference between AID and HANDLE AID?
i need a small 3d program using inline and outline.
Explain about different table spaces.
What are the different rules of SORT operation?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What is the difference between Global and External Variables?
What is cobol?
how do you reference the ksds vsam file formats from cobol programs
How you can characterize tables in cobol?
Mention the guidelines to write a structured cobol program?
what is search and searchall?what is the diffrence between them?give an best example?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
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.