Is it possible to mutliply a comp variable with an comp-3
variable. Will there be any error if i do it?
Answer Posted / vikas pujar
Yes. Comp and Comp-3 are used to store numeric values so
operation is valid.
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
What is the LINKAGE SECTION used in COBOL?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Have you used comp and comp-3 in your project? And how?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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.
Write the code implementing the perform … varying.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Difference between cobol and cobol-ii?
) how do u code after getting data?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
how do you reference the ksds vsam file formats from cobol programs