× 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'd say those are all good things.

On 6/2/2021 8:27 AM, Larry "DrFranken" Bolhuis wrote:
I haven't attempted that but I do suspect it likely to fail. The validation steps the operating system takes for programs should toss the thing I would expect.

In the CLI I can see but not copy PGM objects (File not found)

In Exploder they do not even show up. I created a duplicate of QCMDEXC as QCMDEXCLDB and while that also shows up in the CLI it does not appear in Explorer either.

What I did try to do is use COPY at a command prompt over to a Windows system. Again fail with the 'file not found' error in the CLI/ It appears IBM i is blocking those attempts.

Attempts to delete QCMDEXCLDB.PGM from the CLI also state that the system cannot find the file.

For grins I tested using FileZilla to FTP those things out of /QSYS.LIB but the FTP server only presents objects of type File (PFs and Save Files)

I am testing with an *ALLOBJ user profile.
    - DrF

On 6/2/2021 10:54 AM, Peter Dow wrote:
I guess from IBM's point of view that would make sense. You can move, rename, or delete a program, but you can't modify it.  Wait, can you replace it? Say, copy a *PGM from SysA to Windows/Linux then from there to SysB?

On 6/2/2021 7:49 AM, Larry "DrFranken" Bolhuis wrote:
I can see those critters from a shared IBM i. They can be deleted and renamed if you have the authority to do so.

I tried to dump them or 'type' them but for those type of operations the objects appear to be completely missing. You get a 'file not found' error.

I expect that IBM i is in control at that point and the object attributes are preventing that sort of action against those objects.

 - DrF

On 6/2/2021 10:27 AM, Peter Dow wrote:
Hi Rob,

When you went into that share with Win FIle Explorer, could you see aaa.pgm?  And if you could see it, could you do anything with it? Open it? Update it? Delete it?

I have a vague recollection that some object types don't even show up in a share, or maybe I just couldn't do anything with them.

--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx>

/
On 6/2/2021 4:26 AM, Rob Berendt wrote:
I ran these commands on my IBM i:
md '/qsys.lib/robencrypt.lib'
Go ahead and secure CRTLIB you DBA you...

CPY OBJ('/qsys.lib/rob.lib/aaa.pgm') TODIR('/qsys.lib/robencrypt.lib')
CPY OBJ('/qsys.lib/rob.lib/a.file') TODIR('/qsys.lib/robencrypt.lib')
CPY OBJ('/qsys.lib/rob.lib/strcode.usrspc') TODIR('/qsys.lib/robencrypt.lib')
md '/qsys.lib/robencrypt.lib/myfile.file'
edtf '/qsys.lib/robencrypt.lib/myfile.file/myfile.mbr'

Then I used the webby IBM Navigator for i to create a share over /qsys.lib/robencrypt.lib.
Then I go into Windows file explorer.
When I go into file:\\myibmi<file://myibmi> and find any shares there, regardless of whether or not the share is under qsys.lib or not, I cannot see the "Advanced" box to encrypt a file like I can with files on a Window server.
I take it I need to use other encryption software?
I can go into that share, double click on strcode.usrspc and tell it to use notepad to open it.  Type some updates into it, save it and exit.

Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to:  7310 Innovation Blvd, Suite 104
           Ft. Wayne, IN 46818
Ship to:  7310 Innovation Blvd, Dock 9C
           Ft. Wayne, IN 46818
http://www.dekko.com







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.