MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

about subprogram

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
culturewyj00
Beginner


Joined: 15 Jun 2006
Posts: 14
Topics: 7

PostPosted: Sun Jun 25, 2006 8:45 pm    Post subject: about subprogram Reply with quote

how to compile and run the cobol that contains subprogram?
I know the jcl that the main program and subprogram are in the same
member,but when they are in different members,I cannot compile it.
can you give me an corrent jcl to solve this problem?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Mon Jun 26, 2006 5:00 am    Post subject: Reply with quote

culturewyj00,

Check this link which shows about compiling 2 different members and refering the subprogram using a call stmt

http://www.mvsforums.com/helpboards/viewtopic.php?p=11422#11422

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
culturewyj00
Beginner


Joined: 15 Jun 2006
Posts: 14
Topics: 7

PostPosted: Mon Jun 26, 2006 8:41 pm    Post subject: Reply with quote

thanks for your reply,but i cannot get the information that i desire
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12382
Topics: 75
Location: San Jose

PostPosted: Tue Jun 27, 2006 5:52 am    Post subject: Reply with quote

Quote:

thanks for your reply,but i cannot get the information that i desire

culturewyj00,

And what would that be? You asked for compiling a main program and a sub program. The above link shows the same (Step0100 compiles the main program and step0300 compiles the subprogram)

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group