----- Original Message -----
Sent: Wednesday, July 11, 2001 10:03
AM
Subject: RE: CRTSRVPGM
I
assume you left the parameters for EXPORT, SRCFILE and SRCMBR as their
defaults on the CRTSRVPGM command. So, the system was looking for a
member with the same name as your module, in QSRVSRC, of type BND that
contains binder language.
Binder language is used to tell the system which subprocedures to
export from the module. This error is saying "Hey, look here bud!
I didn't find any binder language!"
Two
options.
1. Change EXPORT to *ALL (not recommended, but it will work if
you PROMISE to go back and use binder language for your real
applications.) This says "Ignore any binder language and just export all
subprocedures from the module."
2. Read up on binder language, signatures, and what all goes on
here. It is confusing at first, but luckily it' s one of those things
that "clicks" once you get there.
Email me privatly for a copy of a powerpoint presentation I have on ILE
that I use when I am teaching it. :) It may help with your road to
ILE.
Brad
Hello everybody,
I'm trying to create my first service program
and am getting this compilation message:
H
NoMain
***ERROR Syntax not
valid.
***ERROR No 'current' export block
Does anybody have an idea?
Rex