What will happen if a variable is declared as below..
Explain with an example? Working storage section:-
01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.
What will happen I want Display WS-VARX and WS-VARN?
Answer Posted / jitinder
The Syntax of Redefine Clause is
Label number data-name-1 REDFINES data-name-2
Here data-name-1 should not contain VALUE clause, but data-
name-2 can contain VALUE clause.
Plz correct me if i m wrong.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Why did you choose to work with ibm mainframe cobol programming?
What is the difference between binary search and sequential search?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is a report item?
what is difference between cobol and cobol/400
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.
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.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Difference between cobol and cobol-ii?
What is cobol?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
how do you define single dimensional array and multidimensional array in your cobol?
Define static linking and dynamic linking.
Write a cobol program making use of the redefine clause.