|
Hi Peter Compile it as a module using: CRTCLMOD MODULE(library/srcmbr) SRCFILE(library/QCLSRC) SRCMBR(srcmbr) And then use the CRTPGM command to create it as a program: CRTPGM PGM(program) MODULE(library/srcmbr) BNDSRVPGM(QTOCNETSTS) ACTGRP(QILE) The procedure he's trying to call is in the QTOCNETSTS service program which needs to be bound in. Unfortunately I can't create the program on my box because it's on v4r5 and I don't have the service program. All the best Jonathan -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Peter Vidal Sent: 10 June 2005 18:16 To: Midrange Systems Technical Discussion Subject: RE: program error. I changed the type to CLLE. Now the error is different when I compile (and it has sense): "* CPD0726 10 Variable &DATA# declared but not referred to..." If you have a CLP, it will compile. I won't if it is CLLE... I think you might need to remove the DCL statement if we still want the CALLPRC to execute.... Peter Vidal PALL Corporation / SR Programmer Analyst, IT Development Group 10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111 http://www.pall.com "Courage is the strength or choice to begin a change. Determination is the persistence to continue in that change." -- Anonymous --
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.