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 / saveen
ws-varx will have 12345fghij
ws-varn will have 12345.
pls kindly post ur views. am a beginner.
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is a scope terminator give example?
What the difference is between continue and next sentence?
Define cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
what is difference between cobol and cobol/400
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Explain what you understand by passing by value.
What are the different rules to perform a Search?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
Write the code to count the sum of n natural numbers.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
example for sub strings ? and refernce modifications whit output pls