01 a pic s9(5) value -12345,
if we disply a , the sign will overpunched with last digit
but i need to get the miuns sign in the result?
Answer Posted / sreejith
01 a pic -9(5) value -12345
or
01 a pic x(6) value '-12345'
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
how do you reference the esds vsam file formats from cobol programs
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Write a program to enter and display the names of students in a class using the occurs clause.
How do get the result of your program directly on your pc?
Difference between array and sub-script ?
What is the difference between next sentence and continue in cobol programing language?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How do you reference the following file formats from cobol programs?
What is length is cobol?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Explain how you can characterize tables in cobol?
How do you define a variable of comp-1 and comp-2?
example for sub strings ? and refernce modifications whit output pls
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?