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 / anna
WORKING-STORAGE SECTION.
01 WS-VARX PIC X(9) VALUE SPACE.
01 WS-VARN REDEFINES WS-VARX PIC 9(9) value zeros.
in this case you can used any data, by using right
field for numeric data ws-varN, for alphabetic /alphanumeric
ws--varX.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are different data types in cobol?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you differentiate between cobol and cobol-ii?
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.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is amode(24)?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
how to move the records from file to array table. give with code example
Difference between cobol and cobol-ii?
What is a scope terminator give example?
How many sections are there in data division in COBOL?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is rmode(24)
What is rmode(any) ?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)