IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Decide whether it is a main program or a sub-program


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramesh_21
Warnings : 2

New User


Joined: 17 May 2006
Posts: 3

PostPosted: Mon Jun 05, 2006 12:33 pm
Reply with quote

Hi,

I have two Questions.

1. I am given a program. How can i decide whether it is a main program

or a sub-program .

2. I am given a program which contains call statements. How can i

decide whether they are static calls/dynamic calls.

with thanks
sai
Back to top
View user's profile Send private message
Jerry

New User


Joined: 16 Sep 2005
Posts: 42

PostPosted: Mon Jun 05, 2006 3:25 pm
Reply with quote

Hi Ramesh,

1) I think, if the program has procedure division USING data-name, then it must be a sub program.

2) Whether a call is static or dynamic depends on the compiler option NODYNAM.

Correct me if I am wrong.

Regards,
Jerry.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top