×
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.
On 04 Jun 2013 13:32, John McKee wrote:
System is v5r4m0.
Just tried to compile the code here:
http://www-912.ibm.com/s_dir/slkbase.NSF/0/c32ae479499cdd71862579f7005e7a71?OpenDocument&ExpandSection=3%2C2%2C4#_Section3
which is to enable netserver access.
In the CLP is DCLPRCOPT with two parameters. TEXT() and USRPRF(*OWNER)
Does not compile as keywords are not valid with this command.
Only allowed keyword is SUBRSTACK
The error suggesting that the "keywords are not valid" is correctly
being issued on v5r4. The document is either incorrectly tagged with
v5r4 [unlikely, because the /fix/ for which that program becomes more
desirable exists for that release], or more likely, the code sample
incorrectly coded a dependency on feature(s) available only since v6r1.
They should have separately shown how to implement the effect on a
v5r4 system, without including that CL command statement in the source;
or possibly better, just implement using the release-agnostic means to
compile and change the program object... as described below:
As Buck alludes in his reply:
- remove [or comment with /* */] the DCLPRCOPT line of code from
the "RSTNETUSRP.CLLE member" given in that Technical Document 633149683
- compile the program as shown; i.e. using the given CRTBNDCL
- then issue: CHGPGM RSTNETUSRP TEXT('Reset NetServer User')
USRPRF(*OWNER)
I don't see a reference to the parameters changing in the documents
I have. I wonder when it changed and how many headaches it created.
The InfoCenter for the specific releases has the documentation:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/cl/dclprcopt.htm
_i Declare Processing Options (DCLPRCOPT) i_
" _Parameters_
..." <-- Only the SUBRSTACK is documented on this release
http://pic.dhe.ibm.com/infocenter/iseries/v6r1m0/topic/cl/dclprcopt.htm
_i Declare Processing Options (DCLPRCOPT) i_
"...
The Declare Processing Options (DCLPRCOPT) command lets you define
compiler processing options. These options can control the behavior of
the compiler or modify the attributes of the program or module object
generated by the CL compiler.
...
_Parameters_
..." <-- 12 parameters were added since v5r4; no change flags
indicating these are new for the release v6r1 :-(
As an Amazon Associate we earn from qualifying purchases.
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.