I am also using NETDATA and let's say that I have a command that we use all the
time to set our *LIBL for production libraries (let's say "ML") and I want to
have the same effects for the CGI programs I am referring to, can I have a CL
program calling the command by saying:

%FUNCTION(DTW_SYSTEM) SETLIBL () {
  %EXEC {
  /QSYS.LIB/PPLPGM.LIB/SET#LIBL.PGM
  %}

  %MESSAGE {
    default: "" : continue
   %}
%}

@SETLIBL()

... and then after this we can do out regular:
SELECT Field1, Field2
FROM FileName
WHERE (WhereClause)

... instead of:
SELECT Field1, Field2
FROM LibraryName.FileName
WHERE (WhereClause)

... is this also viable?

Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com / 727-539-8448, x2414

"A good player makes himself look good;
a great player makes the team look good."
Author unknown



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.