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
What is the difference between comp and comp-3?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how do you reference the rrds file formats from cobol programs
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Explain the configuration section of a cobol program with examples of syntax.
IF I mention stop run in CICS what happens?
How to print 10 to 1 if the input have only 10 digit number?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is rmode(24)
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
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.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is the default value(s) for an initialize and what keyword allows for an override of the default?