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

how we separate the cobol cics statements from cobol&cics programming?

1 Answers   Valtech,


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?

0 Answers   HCL,


what is MSGLEVEL?

1 Answers   IBM,


What are the different rules of SORT operation?

0 Answers  


If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,






what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?

2 Answers   Satyam,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


What are the pertinent COBOL

0 Answers   IBM,


What is the reference modification.

2 Answers  


What type of Call you would use if you don;t want the control back to the calling program?

8 Answers   TCS,


What is 88 level used for ?

2 Answers  


Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

6 Answers   T systems,


Categories