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
What are the various section in data division and briefly explain them.
What are literals?
Why occurs cannot be used in 01 level in COBOL?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Have you used comp and comp-3 in your project? And how?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the utilization of copybook in cobol?
explain sorting techniques in cobol program?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are the different open modes available in cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Write some characteristics of cobol as means of business language.