ID DIVISION.
PROGRAM-ID. PLO.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC 9(2).
01 VAR2 PIC X(2).
PROCEDURE DIVISION.
ACCEPT VAR2.
MOVE VAR2 TO VAR1.
STOP RUN.
if i give 'PI' in var2 then what will b output of progr.
any abend?????
Answer Posted / giri12
SOC7
| Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What is the difference between comp and comp-3?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Differentiate between structured cobol programming and object-oriented cobol programming.
Describe the cobol database components?
What is report-item in COBOL?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how do you reference the variable block file formats from cobol programs
What is the LINKAGE SECTION used in COBOL?
Explain how to differentiate call by context by comparing it to other calls?
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 type of SDLC u followed? Why?
What are the access modes of START statement?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
How do you reference the following file formats from cobol programs?
How arrays can be defined in COBOL?