× 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.




Thanks Rob
Hopefully we will be moving to this release in the near future



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxxxxx
P:(631) 244-2000 ext. 5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill



rob@xxxxxxxxx
Sent by:
midrange-l-bounce To
s@xxxxxxxxxxxx Midrange Systems Technical
Discussion
<midrange-l@xxxxxxxxxxxx>
11/04/2008 02:49 cc
PM
Subject
RE: Calling a sub-procedure from a
Please respond to service program with a CL program
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>






See V6R1's DCLPRCOPT. It's CL's version of the H spec.
http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/rbam6/rbam6dclprcopt.htm


DCLPRCOPT SUBRSTACK(99)
LOG(*JOB)
ALWRTVSRC(*YES)
TEXT('text desc')
USRPRF(*USER)
AUT(*LIBCRTAUT)
SRTSEQ(*JOB)
LANGID(ENU)
STGMDL(*TERASPACE)
DFTACTGRP(*NO)
ACTGRP(*CALLER)
BNDSRVPGM((MYSRVPGM *IMMED))
BNDDIR(MYBNDDIR)


Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Jeff Crosby" <jlcrosby@xxxxxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
11/04/2008 02:24 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: Calling a sub-procedure from a service program with a CL program






You're not blind. There is no BNDDIR parm in the CRTBNDCL command.

Seems like a mistake, doesn't it?

You have to use CRTCLMOD followed by CRTPGM.

--
Jeff Crosby
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore
Sent: Tuesday, November 04, 2008 1:37 PM
To: Midrange Systems Technical Discussion
Cc: Midrange Systems Technical Discussion;
midrange-l-bounces@xxxxxxxxxxxx
Subject: Re: Calling a sub-procedure from a service program
with a CL program

Rats
maybe I need a vacation
A CLLE program uses the command CRTBNDCL, but I cannot see a
parameter for binding directory Is it time for some new
glasses (new eyes, new brain, vacation (permanent or otherwise))?



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxxxxx
P:(631) 244-2000 ext. 5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

midrange-l-bounces@xxxxxxxxxxxx wrote on 11/04/2008 01:18:14 PM:


Thanks for your reply Charles
I had already thought of that.
What I may end up doing is probably creating an RPGLE program using
this sub procedure and have the cl program call that instead.
NOT the way I want to go, but changing the MKS parameters here,
involves
a
lot of read tape, AND I KNOW that I will be asked "why not
use an RPG
program to call etc. etc.



Alan Shore
Programmer/Analyst, Direct Response
E:AShore@xxxxxxxxxxx
P:(631) 244-2000 ext. 5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill

midrange-l-bounces@xxxxxxxxxxxx wrote on 11/04/2008 12:53:51 PM:

If David doesn't jump into this within the next two
minutes or so...

Call MKS.

I'd be willing to bet you're doing something wrong.

We use Aldon, and when you specify object type *PGM
attribute RPGLE
or CLLE, there's also an extended attribute of type BND
or ILE. If
you use BND, then the CRTBNDxxx commands are used. If
you specify
an attribute of ILE, the CRTPGM command is used. (Note that
techinically, the attribute of RPGLE/CLLE doesn't apply to a true
ILE program, Aldon lets you put it there, but it has no effect)



Charles

On Tue, Nov 4, 2008 at 11:38 AM, Alan Shore
<AlanShore@xxxxxxxx> wrote:

I have found that missing parameter is causing me a headache We
use MKS implementer and for a CL (or CLLE) program, it
automatically
uses the CRTCLPGM command
Cannot apply the BNDDIR
For the moment, I am stumped



Alan Shore
Programmer/Analyst, Direct Response E:AShore@xxxxxxxxxxx
P:(631) 244-2000 ext. 5019
C:(631) 880-8640
"If you're going through Hell, keep going" - Winston Churchill



"Jeff Crosby"
<jlcrosby@dilgard
foods.com>
To
Sent by: "'Midrange
Systems Technical
midrange-l-bounce Discussion'"
s@xxxxxxxxxxxx <midrange-l@xxxxxxxxxxxx>

cc

11/04/2008 11:31
Subject
AM RE: Calling a
sub-procedure
from
a
service program with a CL
program

Please respond to
Midrange Systems
Technical
Discussion
<midrange-l@midra
nge.com>






I always thought there should be a BNDDIR parm on the CRTBNDCL
command.

--
Jeff Crosby
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com

The opinions expressed are my own and not necessarily
the opinion of
my
company. Unless I say so.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Vern Hamberg
Sent: Tuesday, November 04, 2008 9:57 AM
To: Midrange Systems Technical Discussion
Subject: Re: Calling a sub-procedure from a service program
with a CL program

There is also a BNDDIR parameter on CRTPGM - since you
already use a binding directory in RPGLE, use that parameter

If you are building it with modules, then the MODULE
parameter just takes care of it. As Adam suggests.

Adam Glauser wrote:
Alan Shore wrote:

Thanks for your reply Adam
How does the program know what needs to be bound?
In RPGLE the binding directory is specified in the H spec


So far I've been using the BNDSRVPGM and MODULE
parameters on the
CRTPGM command. However, it is probably better to use Alan
Campin's
COMPILE tool or the facilities of your change management
tool if you have one.

--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list To post a message email:
MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting,
please take a moment to review the archives at
http://archive.midrange.com/midrange-l.




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l>
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l..


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion
(MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l..


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l..


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.