how to display comp3 variables reply soon ?
Answer Posted / chandra
SELECT ACCT-FILE ASSIGN TO UT01.
01 A pic s9(5)comp-3 value 12345.
01 ACC-REC.
02 B pic s9(5)comp-3.
02 FILLER X(77).
PD.
OPEN ACCT-FILE.
MOVE A TO B.
WRITE ACC-REC.
BROWSE THE FILE AND WRITE HEX ON IN THE COMMAND PROMPT THEN
PRESS ENTER....IT WILL SHOW U THE COMP-3 VALUE.....
Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
State the various causes of s0c1, s0c5 and s0c7.
Describe the cobol database components?
How do we get current date from system with century in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are literals?
Difference between array and sub-script ?
What are the pertinent COBOL
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?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is Pic 9v99 Indicates in COBOL?
example for sub strings ? and refernce modifications whit output pls
how can i see junk values in dclgen or in hostvariable of comp ?
what is the difference between COBOL2 AND COBOL390?
Mention the guidelines to write a structured cobol program?