how to display comp3 variables reply soon ?
Answer Posted / fjord
01 ws-a pic s9(5) comp-3 value 12345.
01 ws-b pic s9(5).
Procedure division.
move ws-a to ws-b
display ws-b upon terminal.
Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is a scope terminator give example?
What is a report item?
Which mode is used to operate the sequential file?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and 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 we change the password using ALTER? anyone tried and changed?
What are the different data types in cobol?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are the different rules of SORT operation?
How many bytes S(8) comp field occupy and its maximum value?
How many sections are there in data division in COBOL?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?