× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Creating a service program
  • From: "Stone, Brad V (TC)" <bvstone@xxxxxxxxxxxxxx>
  • Date: Tue, 22 Aug 2000 12:51:01 -0500

Looks like your binder language is messed up (or missing).  From your
command you're telling it to look in EMLTOOL/QRPGLEPROC Member EMLSERVC1 for
the binder language.  Is it there?  Is it correct?  

The source should have a member type of BND and look like this:
STRPGMEXP                            
EXPORT     SYMBOL(#Proc1)   
EXPORT     SYMBOL(#Proc2)  
EXPORT     SYMBOL(#Proc3)
...  
ENDPGMEXP                            

#ProcX should be replaced by the names of the subprocedures you want to
export.

Brad

> -----Original Message-----
> From: Mike Silvers [mailto:msilvers@hbs-inc.com]
> Sent: Tuesday, August 22, 2000 12:34 PM
> To: RPG400-L@midrange.com
> Subject: Creating a service program
> 
> 
> I am trying to create my first service program.  This service 
> program is a
> group of procedures (NOMAIN) and I have successfully created 
> a module from
> the source.  The source for the procedures is in a library in 
> the source
> file QRPGLEPROC.  My problem is creating the service program. 
>  It will not
> be created and there are errors.  The command and errors are 
> as follows:
> 
> Command:
> 
> CRTSRVPGM SRVPGM(EMLTOOL/EMLSERVC1) MODULE(EMLTOOL/EMLSERVC1)
> EXPORT(*SRCFILE) SRCFILE(EMLTOOL/QRPGLEPROC) SRCMBR(EMLSERVC1)
> ACTGRP(EMLTOOL)
> 
> Errors:
> 
> EMLTOOL/QRPGLEPROC.EMLSERVC1 line 1: ***ERROR Syntax not valid.
> EMLTOOL/QRPGLEPROC.EMLSERVC1 line 1: ***ERROR No 'current' 
> export block
> Binder language compilation failed with 2 errors and 0 warnings.
> Service program EMLSERVC1 not created.
> 
> Any help is appreciated....
> 
> Thanks
> Mike
> 
> 
> 
> 
> 
> 
> Mike Silvers, IBM Certified Expert
> 
> Hainey Business Systems
> 8 E. Canal St
> Dover, PA 17315
> Branch Office:  (410) 397-8739
> Phone:  (800) 932-3380
> Fax:  (717) 292-9474
> Web: http:\\www.hbs-inc.com
> ________________________________
> Providing E-Commerce, EDI, AS/400
> Development and related services
> nationwide.
> ________________________________
> 
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
> RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: 
> david@midrange.com
> +---
> 
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.