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
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What the difference is between continue and next sentence?
In COBOL, what is the different between index and subscript?
What are the various section in data division and briefly explain them.
What is the difference between PIC 9.99 and 9v99 in COBOL?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
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 ......
Difference between cobol and cobol-ii?
Write the code implementing the perform … varying.
How do you reference the following file formats from cobol programs?
What is amode(24)?
In which area will you utilize 88 level items in cobol?
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.
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What are declaratives and what are their uses in cobol?