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 |
whats the disadvantage of search all over search?
What is the difference between a DYNAMIC and STATIC call in COBOL?
SUPPOSE I HAVE 60 CHARACTERS STING. IN THAT I WANT FIND OUT HOW MANY TIMES 'A'(ASSUME)WILL REPEATED AND I HAVE TO PASS 'E' IN PLACE OF 'A'ALONG THAT STRING.
What is the use of LINKAGE SECTION?
Can we put move statement in COBOL copybook
What are the different types of condition in cobol and write their forms.
In COBOL programming, what is PERFORM? What is VARYING?
How to know whether the module is dynamical or statistical?
What is an index for tables?
give the examples for strings and unstrings in cobol
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
Which is not true about evaluate statement