I did that but just for members. Super simple and so much faster.
It certainly confused my boss when he'd look over my shoulder and see me typing these cryptic 2-letter commands. I named them after the library I'd be dealing with.
Ex: For QCLSRC in my lib: RH CL <optional member name or wildcard>
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Dan
Sent: Thursday, August 31, 2023 10:33 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Duplicating IBM commands that I do not have authority to duplicate
(Sorry for the fat-fingered Send on the earlier post.)
Trying to duplicate PDM commands to WLP, WOP, and WMP using CRTDUPOBJ.
Unfortunately, I do not have authority to do that.
I used TAATOOL's RTVCMDSRC to retrieve the source of the PDM commands.
Using all of the parms commented in the retrieved source, except for CMD
and SRCFILE, I was able to compile the command, but when I tried to run it,
I got MCH6801 "Object domain or storage protection error for offset in
object QUOCPP." (Violation type 1 "Object domain violation.")
So, now I am thinking of just creating my own command and CPP, where the
CPP simply takes the incoming parameters and calls the appropriate IBM PDM
command. Is there a better way?
- Dan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.