View previous topic :: View next topic |
Author |
Message |
issac1029 Intermediate

Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Thu Dec 07, 2006 1:44 am Post subject: question about the compile option |
|
|
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 |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Thu Dec 07, 2006 5:31 am Post subject: |
|
|
issac1029,
Please post what is the error message you are getting ? _________________ Shekar
Grow Technically |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Dec 07, 2006 8:47 am Post subject: |
|
|
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 |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Fri Dec 08, 2006 8:49 pm Post subject: |
|
|
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 |
|
 |
issac1029 Intermediate

Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Sun Dec 10, 2006 4:54 am Post subject: |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Sun Dec 10, 2006 12:59 pm Post subject: |
|
|
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 |
|
 |
issac1029 Intermediate

Joined: 10 Dec 2005 Posts: 159 Topics: 75
|
Posted: Mon Dec 11, 2006 12:56 am Post subject: |
|
|
It's not my program~ So I also don't know why. Thanks for your reply. |
|
Back to top |
|
 |
|
|