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

Compile and run a COBOL pgm in a single JCL


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
MARINA JOSEPH

New User


Joined: 11 Jun 2009
Posts: 61
Location: chennai

PostPosted: Fri Dec 11, 2009 2:05 pm
Reply with quote

Hi,

I need to compile and run a COBOL program using a single JCL.

Could somebody please tell how to do the same?
Sample snippets would be useful.

Thanks.
[/quote]
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 2:13 pm
Reply with quote

You could use procedure IGYWCLG.

The COBOL job step produces an object module that is input to the linkage editor or binder. You can add other object modules. If the COBOL program refers to any data sets, you must also supply DD statements that define these data sets.
Back to top
View user's profile Send private message
MARINA JOSEPH

New User


Joined: 11 Jun 2009
Posts: 61
Location: chennai

PostPosted: Fri Dec 11, 2009 2:17 pm
Reply with quote

Thanks for the reply.

Do you have the link for the same?

Thanks.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 2:18 pm
Reply with quote

What link to what same?
Back to top
View user's profile Send private message
MARINA JOSEPH

New User


Joined: 11 Jun 2009
Posts: 61
Location: chennai

PostPosted: Fri Dec 11, 2009 2:21 pm
Reply with quote

The procedure IGYWCLG. I am coming across such a procedure for the first time.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 2:29 pm
Reply with quote

publib.boulder.ibm.com/infocenter/pdthelp/v1r1/index.jsp?topic=/com.ibm.entcobol.doc_4.1/PGandLR/ref/rpmvs07.htm

The procedure will probably be located in the SYS1.PROCLIB
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Dec 11, 2009 2:30 pm
Reply with quote

to use it ask Your support
the procedure is described well in the cobol publication

what about looking at the manuals Yourself!
starting from
www-03.ibm.com/systems/z/os/zos/bkserv/index.html
for the whole manuals shebang

to save some of Your precious time I am taking the liberty of pasting also the link to the cobol bookshelf for the 3.4 version
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IGY3SH33

here is a link to the programming guide
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG32/CCONTENTS?SHELF=IGY3SH33&DN=SC27-1412-05&DT=20061117131343

I also, on Your behalf carried on the search for IGYWCLG
and reached ...
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/igy3pg32/2.1.1.1.3?ACTION=MATCHES&REQUEST=IGYWCLG&TYPE=FUZZY&SHELF=IGY3SH33.bks&DT=20061117131343&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

P.S.
if the link posted does not agree with the cobol version installed you can find the manuals for Your version here
www-03.ibm.com/systems/z/os/zos/bkserv/zappls2.html
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Compile rexx code with jcl CLIST & REXX 6
Search our Forums:

Back to Top