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 / prasanna
Wont it show SOC or ASRA because of the data exception...
(non numeric in a numeric field) ??
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Write a cobol program making use of the redefine clause.
what happens if parmparameter passes zero bytes to the program
Which mode is used to operate the sequential file?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
how to access the file from prodution from changeman tool and to submit a file to production
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is length is cobol?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Difference between cobol and cobol-ii?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is inspect in cobol ?
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 are the pertinent COBOL commands?
What is a scope terminator give example?