how to pass 100 to s9(4) how r they inserted ?

Answer Posted / chandru

Numeric data are right justified. So that the value inserted
will be 0100.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657


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 ......

10626


How can you get the ksds file records into your cobol program?

644


what is search and searchall?what is the diffrence between them?give an best example?

5563


How do you reference the following file formats from cobol programs?

695






if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5695


What is the difference between Global and External Variables?

666


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1933


What are 77 levels used for?

659


Explain how to differentiate call by context by comparing it to other calls?

689


What is the difference between PIC 9.99 and 9v99 in COBOL?

732


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.

3720


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1807


i want a program using by if, evaluate , string, unstring, perform, occurs?

4061


How to remove 2 duplicate records and copy only one using job control language?

754