I am sending values a and b with pic x(10) and pic x(10) by
using call statement.
In linkage section, I am receiving values with pic x(10)
and pic x(11).
Will my program fail? will it be compile error or run time
abend?
Answers were Sorted based on User's Feedback
Answer / vs kumar
NOTHING WILL HAPPEN. PROGRAM WILL EXECUTE SUCCESSFULLY.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / meera
Program will execute successfully. But truncation will
occur. If the data is numeric then MSB will truncate. If the
data type is Alphabet then Right most alphabet get truncated
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / bharath
No error will occur. Data will terminate to 10 Fields.
| Is This Answer Correct ? | 2 Yes | 3 No |
01 a pic x(6) value is abcdef 01 b pic x(3) move a to b wht will be the value in b ?
What rules are followed by the search verb.
CAN ANY ONE HELP WHAT IS QTP? why it is nessery AND WEN IT IS USED?
I have a occurs for 100 times but it has executed 101 time what could be the reason?
What is XDC ?
how do u link sub pgm to main pgm ?
Under which scenario you would go for a static call as opposed to dynamic call?
what is linkcard in cobol?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?
What are the various section in data division and briefly explain them.
how we rectify soc7 and soc4 errors in project?
What is an explicit scope terminator?