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 |
consider the following FD FILE-1 01 REC-1 PIC X(80) ...... WORKING-STORAGE SECTION 01 W-REC PIC X(90) ........ PROCEDURE DIVISION FIRST-PARA ....... READ FILE-1 INTO W-REC AT END MOVE 1 TO EOF-FLAG which of the following is true with respect to the above? a.REC-1 will contain nothing and W-REC will contain the contains of the record read b.REC-1 and W-REC contain the same data c.syntex is invalid and error will occur d.REC-1 and W-REC must be of same size
how you read control card into array?
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
What is the utilization of copybook in cobol?
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.
Consider the following: 77 A PIC 9(10) 77 B PIC 9(10) 77 C PIC 9(19) MULTIPLY AB BY B GIVING C Which of the following is true ? (a) The execution of the above may result in size error. (b) The execution of the above will result in size error. (c) The definition of C is invalid resulting in compilation error. (d) No error will be thee and the program would proceed correctly.
In the JCL, how do you define the files referred to in a subroutine ?
How to recover a deleted source physical file from library?
1)what is use of linkage section? 2)what is difference between comp and comp-3
give the examples for strings and unstrings in cobol
Can we move X(9) to 9(9). If yes what are the ways for doing this?
HOw can I get the negative sign while deduct high value from low value