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?
Answer Posted / bharath
No error will occur. Data will terminate to 10 Fields.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Which Search verb is equivalent to PERFORM…VARYING?
What is perform what is varying?
What are the different types of condition in cobol and write their forms.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How to print 10 to 1 if the input have only 10 digit number?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How do we get current date from system with century in COBOL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What are the different rules to perform a Search?
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?