SIGN TRAILING SEPARATE field occupy ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.
can you declare redefine in level 01?
How do you reference the following file formats from cobol programs?
What is the LINKAGE SECTION used for?
WORKING-STORAGE SECTION. 01 A PIC X(3) VALUE 'ABC' 01 B PIC 9(3). PROCEDURE DIVISION. MOVE A TO B. STOP RUN. OUTPUT IS: AB3 WHY AND HOW THIS IS HAPPENING.
Why did you choose to work with ibm mainframe cobol programming?
i WANT ALL ERROR codes IN CICS and DB2
Study the DATA DIVISION entries and the three PROCEDURE DIVISION entries given below: 01 END-OF-FILE-SWITCH PIC XXX. 88 NO-MORE-RECS VALUE "YES". 88 MORE-RECS VALUE "NO". (i) READ SAMPLE-FILE AT END MOVE "YES" TO NO-MORE-RECS. (ii) IF NO-MORE-RECS = "YES" GO TO LAST-PARA. (iii) IF NO-MORE-RECS GO TO LAST-PARA. Which are wrong? (a) (i) and (ii) (b) (ii) and (iii) (c) (i) and (iii) (d) all
how many maximum no of variables can be declared in linkage section ?
what is the difference between external and global variables?