×
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.
I will also note that you do not always HAVE to "compile" a CLP or CLLE program.
You can, for example, just enter the source statements in a source file member, prefixed by a "batch job" statement, thus:
// BCHJOB JOB(MYJOB) JOBD(mylib/myjobd) JOBQ(qgpl/qbatch)
... insert your CL statements here ... ... insert your CL statements here ... ... insert your CL statements here ...
Save the member and then just submit the member to run in batch, e.g. using SBMDBJOB. (I have a PDM F16 user-defined option "SB" to make it easy.)
Might come in handy for someone ... :-)
> On Wednesday, January 20, 2021, 4:07:49 PM EST, Don Brown via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
Yes Rob that is also a good, easy solution.
For some reason when there was not a SQL option to delete a user profile I
did not think to using run SQL scripts.
But I have been making use of the CL: function quite a lot lately
Hopefully I will think more laterally next time :-)
Don
From: "Rob Berendt" <rob@xxxxxxxxx>
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 20/01/2021 10:25 PM
Subject: Copy/pasting commands WAS: Bulk delete of user profiles
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
I hear people talking about copying and pasting a long series of commands
from Notepad or excel into RDi or some such thing. I assume they then
make a program on it.
I have another option.
Here, when we create a program we have to create a project, get it
approved and process the whole thing through change management. Then, the
cost of the change management software prices it out of installing it on
all 15 lpars of IBM i since many of them only have a small ROUTINES
library I update.
So my alternative is to copy and paste them into iACS Run SQL scripts.
Then I simply prefix the commands with CL:
As in:
-- category: Dekko IT
-- description: Change journal receivers to a new one to clean up the
old ones.
--
CL: CHGJRN JRN(QCPMGTDB/QSQJRN ) JRNRCV(*GEN);
CL: CHGJRN JRN(QMGTC/QYPSDBJRN ) JRNRCV(*GEN);
CL: CHGJRN JRN(QMGTC2/QSQJRN ) JRNRCV(*GEN);
...
Then I connect to a system, do a Run All, disconnect, connect to the next,
repeat.
Rob Berendt
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.