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 

question about the compile option

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


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Thu Dec 07, 2006 1:44 am    Post subject: question about the compile option Reply with quote

I am using a job to compile a cobol program. But when one of the

Copy mem

MEM can not be find in the syslib, but gives no error.

Which option for IGYCRCTL can return error when member copied can not find ?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Thu Dec 07, 2006 5:31 am    Post subject: Reply with quote

issac1029,

Please post what is the error message you are getting ?
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Dec 07, 2006 8:47 am    Post subject: Reply with quote

issac1029,

You would get a return code of 12 for the compile step if the copy member is not found in the syslib.

The error messages for missing copylib member will be listed at [/b]TOP[/b] after the compile options in the compile sysprint listing instead of the usual listing at the bottom.

search for error message IGYLI0048-S

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
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Dec 08, 2006 8:49 pm    Post subject: Reply with quote

Quote:
MEM can not be find in the syslib

Are you sure ?

Check all the PDSes concatenated and pointed to by SYSLIB DD name in the compile step. When none of these PDSes have that member, then indeed, MEM canot be found in SYSLIB.
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Sun Dec 10, 2006 4:54 am    Post subject: Reply with quote

Yes, I am sure, we are using a version control tool called CHANGMAN to compile,I have not met this problem for I always use my own job to compile before. CHANGMAN will list the mem not found in sysprint , then no return error. And one more, because copy mem accturally has not been used in the procedure division so no XX not degined error.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Sun Dec 10, 2006 12:59 pm    Post subject: Reply with quote

if you COPY mem and the mem is not found you will receive a compiler warning.
if you reference a dataelement within mem, you will receive a compiler error.
if you do not reference mem, as you said, then you will not receive a compiler error.

why are you allocating memory (mem) in a program that you are not going to use?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
issac1029
Intermediate


Joined: 10 Dec 2005
Posts: 159
Topics: 75

PostPosted: Mon Dec 11, 2006 12:56 am    Post subject: Reply with quote

It's not my program~ So I also don't know why. Thanks for your reply.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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