Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Definition not found for symbol 'PNCOPYM'. 1

Status
Not open for further replies.

jrowden773

Programmer
Oct 19, 2007
9
Hello everyone,

I created a module called PNCOPYM and
when I used the Crtpgm command to bind it with a CL
module I created I keep getting the following message.



Cause . . . . . : No definition was found for reference PNCOPYM in *MODULE
object DACOPYCL in library ULRMODS. The definition either does not exist or
is not of the same data or procedure type as the reference.
Recovery . . . : Try the Create Program (CRTPGM) command again, supplying
an object that contains a definition for symbol PNCOPYM.
Has anyone run into this before? If so any tips would be greatly appreciated
 
The CRTPGM should look like that

CRTPGM PGM(MYPGM)
MODULE(DACOPYCL PNCOPYM)
ENTMOD(*FIRST) <-- if DACOPYCL is the entry module
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top