SIGN TRAILING SEPARATE field occupy ?

Answers were Sorted based on User's Feedback



SIGN TRAILING SEPARATE field occupy ?..

Answer / varun v

Correct..It occupies one additional byte..

But with one correction to Ans #1.

Here output of "sign trailing separate" is 1234+ and
output of "SIGN LEADING SEPARATE" is +1234.

Thanks

Is This Answer Correct ?    35 Yes 2 No

SIGN TRAILING SEPARATE field occupy ?..

Answer / ficofil

Correct..It occupies one additional byte..

But with one correction to Ans #1.

Here output of "sign trailing separate" is 1234+ and
output of "SIGN LEADING SEPARATE" is +1234.

Thanks

Is This Answer Correct ?    11 Yes 1 No

SIGN TRAILING SEPARATE field occupy ?..

Answer / shinoy sansilavose

it occupies one additional byte when it is specified with
signed variable declaration.

Example:

01 ws-num pic s9(04) sign trailing separate.

move '+1234' to ws-num
then the value will be stored as +1234.

Is This Answer Correct ?    13 Yes 20 No

Post New Answer

More COBOL Interview Questions

in the TIME parameter we r giving hours r minutes

4 Answers   IBM,


which is better either static call or dynamic call? and why?

5 Answers   HCL,


What are the different data types available in COBOL?

4 Answers  


. How do we cast a variable in COBOL

1 Answers   HSBC,


Difference between array and sub-script ?

0 Answers   HCL,






Whats the difference between search & search ALL?

3 Answers   IBM,


What is the linkage section?

4 Answers  


Which division and paragraphs are mandatory for a COBOL program?

0 Answers  


If we use GO BACK instead of STOP RUN in cobol?

1 Answers   Temenos,


write a program to eliminate duplicate records in a input file and send them to output file.THIS IS IGATE RECENT QUESTIONN.....JUST 1 WEEK BACKKKK...

5 Answers   iGate,


which generation language is cobol

4 Answers   Kanbay,


in a indexed file what is procedure for read the records from 12 to 18. please give the code example

2 Answers   L&T,


Categories