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

What are some examples of command terminators?

1 Answers  


How to resolve the soc4 & soc7 other than following answers. Soc4 can resolved using mispleed dd name and dd name is not matching with file and soc7 check the sysdump and copy the offest address then correct it in the program.

10 Answers   ADP, Amdocs, Cap Gemini, Keane India Ltd, Super Value, TCS,


consider the following PROCEDURE DIVISION entry OPEN EXTEND IN-FILE identify the correct statement a.organization of IN-FILE is sequential and records can be added in the beginning b.organization of IN-FILE is sequential and records can be added in the end c.organization of IN-FILE is indexed and records can be added in the beginning d.organization of IN-FILE is indexed and records can be added in the end

3 Answers   TCS,


How to pass return codes from cobol to jcl?

5 Answers  


given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1

5 Answers   Broadridge, TCS,






Explain the configuration section of a cobol program with examples of syntax.

0 Answers  


What do you understand by psb and acb?

0 Answers  


what is linkcard in cobol?

1 Answers   TCS,


How do you reference the fixed block file formats from cobol programs

0 Answers  


is it mandatory to give data division before procedure division ? wht happens if i give procedure division first thn data division ? reply soon

2 Answers   Patni,


What are the ways you can generate a copybook?

2 Answers  


) How do u handle errors in BMS macro?

0 Answers   IBM,


Categories