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 / mdvasanth86
SOC 7 only when you do some arithmetic operation on it...
Displaying it will probably only give you unpredictable results.
HTH
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is report-item in COBOL?
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between perform … with test after and perform … with test before?
how do you reference the esds vsam file formats from cobol programs
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the difference between goback, stop run and exit program in cobol?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Can we change the password using ALTER? anyone tried and changed?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
) How do u handle errors in BMS macro
What type of SDLC u followed? Why?
In which area will you utilize 88 level items in cobol?