can we display comp-3 variables. if we want to display what
we have to do . give me one example
Answer Posted / craig
You can display them, but they will appear non-numeric.
Move the field to a WS field defined as pic +9('number of
digits') and display the WS field to make the data user-
friendly.
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
How do get the result of your program directly on your pc?
What is the LINKAGE SECTION used in COBOL?
What are different data types in cobol?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
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?
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 report-item in COBOL?
How arrays can be defined in COBOL?
Can you please let me know the centre name of INS certification in Kolkata.
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 to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is rmode(any) ?
Can we change the password using ALTER? anyone tried and changed?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is comp-1 and comp-2?