Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Compile and run a COBOL pgm in a single JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Compile and run a COBOL pgm in a single JCL
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 2:13 pm    Post subject:
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Dec 11, 2009 2:18 pm    Post subject:
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

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

http://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

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Fri Dec 11, 2009 2:30 pm    Post subject: Reply to: Compile and run a COBOL pgm in a single JCL
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
http://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
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IGY3SH33

here is a link to the programming guide
http://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 ...
http://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
http://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    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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us