Consider the following COBOL entries:
05 X PIC 99 VALUE 10.
SUBTRACT 20 FROM X.
The resultant value of X wil be
Answer Posted / swappy
Answer #3 is correct. Since there is no sign clause it will
just ignore the -ve sign and resultant will be 10.
Also Prabhu, there is no problem with the level no. There
will not be any error due to the level no.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is difference between static and dynamic call in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the difference between perform … with test after and perform … with test before?
What kind of error is trapped by on size error option?
Explain about different table spaces.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Can you please let me know the centre name of INS certification in Kolkata.
What are declaratives and what are their uses in cobol?
Explain how you can characterize tables in cobol?
Define static linking and dynamic linking.
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.
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.