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
What is the difference between binary search and sequential search?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is inspect 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?
How are the next sentence and continue different from each other?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is rmode(24)
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Write down the divisions of cobol program?
What are the different rules for performing sort operation?
How do you define a variable of comp-1 and comp-2?
What are the different rules to perform a Search?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?