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 am going to Display the WS-VARX and WS-
VARN?
Answer Posted / siva
WS-VARX = 12345FGHIJ
WS-VARN = 12345
| Is This Answer Correct ? | 1 Yes | 14 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
) how do u code after getting data?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What type of SDLC u followed? Why?
How to know whether the module is dynamical or statistical?
Difference between cobol and cobol-ii?
HOw can I get the negative sign while deduct high value from low value
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Which division and paragraphs are mandatory for a COBOL program?
What are declaratives and what are their uses in cobol?
Name some of the examples of COBOl 11?
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 ......
What are the different rules for performing sort operation?
what is amode(24), amode(31), rmode(24) and rmode(any)?
How are the next sentence and continue different from each other?