Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Decide whether it is a main program or a sub-program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Decide whether it is a main program or a sub-program
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us