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
Which mode is used to operate the sequential file?
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.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are 77 levels used for?
How do you differentiate between cobol and cobol-ii?
How can you get the ksds file records into your cobol program?
What are the access modes of START statement?
What are the different open modes available in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Discuss about changing dataset name in proc.
) How do u handle errors in BMS macro?
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 Pic 9v99 Indicates in COBOL?