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
 
Practical use of BASIS compiler option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
barthwalsamarth

New User


Joined: 03 Aug 2006
Posts: 9

PostPosted: Mon Apr 19, 2010 4:52 pm    Post subject: Practical use of BASIS compiler option
Reply with quote

I was going through the compiler option BASIS in the IBM COBOL Manual

It says "The BASIS statement is an extended source program library statement. It provides a complete COBOL program as the source for compilation."

Is this option used when we want to compile more than one COBOL programs in a single program.

And if so..do we need to link these programs at a later stage if they are compiled together?

Also does the program referred by BASIS statement become a part of the main program, like a PROC is embedded in the JCL while running?

What are the changes we need to make to JCL to include BASIS statement in our program?

Thanks and Regards
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 19, 2010 5:04 pm    Post subject:
Reply with quote

BASIS is more a source code management tool for those who do not have one of the vendor tools. You can use a BASIS statement with associated INSERT and DELETE statements to determine what the source code is that you are compiling. The BASIS code does not become part of the main program, it is the main program -- and the entire program.
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm

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