What are subroutines ? and how do we pass data to the sub
routines?
Answer Posted / harish
subroutines are normal cobol program called by another
program...
so data passed through linkake section
in main prog we have to code
call 'sub' using a1,a2
then in subprog accept these a1 and a2 with same name or
differnt doesnt matter
then in procedure division
procedure division using a1,a2.
.........
pls correct me if anything wrong
HARISH POOMGAME SHIVAPPA
NIIT TECHNOLOGY
KOLKATA
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Can you please let me know the centre name of INS certification in Kolkata.
What are the various section in data division and briefly explain them.
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the difference between PIC 9.99 and 9v99 in COBOL?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the variable unblock file formats from cobol programs
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How arrays can be defined in COBOL?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is perform what is varying?
what happens if parmparameter passes zero bytes to the program
What is the difference between Call and a Link?