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?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?

3 Answers   Mind Tree,


if a=b how the flow will complete??? perform test through test-exit. perform activa through activa-exit. test. if a=b then next sentence else move a to c. test-exit. exit. activa. -- -- activa-exit. exit.

1 Answers   IBM,


How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.

7 Answers   Financial Services,


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,






) what is the difference between AID and HANDLE AID?

0 Answers   IBM,


can we use full outer join with cursors declared in cobol program?

2 Answers  


Explain call by context by comparing it to other calls.

1 Answers  


consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250

3 Answers   TCS,


What is the purpose of Identification Division?

1 Answers  


How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 Answers  


how do u indetify files succesfully executed or not ?

4 Answers   TCS,


Categories