Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / tata
if we use comp3(packed decimal)
declare like 01 a pic s9(13)comp3.
13/2=6.5 and s takes extrahalf byte.
that is 6.5+0.5=7.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is report-item 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.
Can you please let me know the centre name of INS certification in Kolkata.
How to print 10 to 1 if the input have only 10 digit number?
) how do u code after getting data?
how to move the records from file to array table. give with code example
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is Pic 9v99 Indicates in COBOL?
Are you comfortable in cobol or jcl?
Explain how you can characterize tables in cobol?
How do get the result of your program directly on your pc?
Write a program to explain size error.
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) ?