How is sign stored in a COMP field ?
Answers were Sorted based on User's Feedback
Answer / dev
the most significant bit is used as a sign bit if it is set
then the field is negetive if not than positive
Is This Answer Correct ? | 23 Yes | 1 No |
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
I have a occurs for 100 times but it has executed 101 time what could be the reason?
Why would you use find and get rather than to obtain?
wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
What is the mode in which you will OPEN a file for writing?
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?
COBOL Snippet: Tell where the control will when the below code execute IF (A=B) CONTINUE ELSE NEXT SENTENCE PERFORM <IMP-STMT> END-IF.
using redefine can you redefine lower variable size to higher variable size?
How to read records from flat file in reverse order through COBOL program?
14 Answers Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,
can I copy book which contain db2 statment in procedure divion?
What type of SDLC u followed? Why?
Explain Restart Logic in Cobol?