|
On Dec 13, 2024, at 12:36 PM, Richard Schoen <richard@xxxxxxxxxxxxxxxxx> wrote:
Not sure if this is relevant for your needs, but the OS typically includes the SAMBA server these days.
You don't need to configure the server, but can use the smbclient app to send/receive files from IBM i to other Netbios servers without exposing shares.
Might be worth checking out if you're trying to revamp your file transfer processes.
Here's an IBM setup link for it. Don't configure the server, but just look into using smbclient from PASE once it's installed.
https://www.ibm.com/support/pages/ibm-i-support-samba
Fooed for thought if you need to stick with file shares and network transfers.
Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
-----Original Message-----
----------------------------------------------------------------------
message: 1
date: Fri, 13 Dec 2024 11:58:24 -0600
from: Justin Taylor <jtaylor.0ab@xxxxxxxxx>
subject: Re: DIR QNTC\ /b /ad > *some file that can be read in CL or
RPG*
Why not just put all the MKDIR commands in QSTRUP? The shares that need to be added should be consistent from IPL to IPL.
date: Fri, 13 Dec 2024 04:25:54 +0000
from: Dan Bale <dan.bale@xxxxxxxxxxxxxxxxxxxxx>
subject: DIR QNTC\ /b /ad > *some file that can be read in CL or RPG*
So here's the deal. We find that some links in QNTC disappear after
an IPL. Currently, we capture the links before IPL via:
DSPLNK OBJ('/QNTC/*') OUTPUT(*PRINT) OBJTYPE(*ALLDIR) DETAIL(*NAME)
DSPOPT(*ALL)
Then, after IPL, using the DSPLNK report, if we find any links are
missing, we manually recreate them via CRTDIR.
The problem arises when some links have a trailing blank in the name.
I don't know how or why, but they do, and we have to "deal with it".
I discovered this by opening a command window, changing to the drive
which is mapped to the IFS, then using:
DIR QNTC\ /b /ad > \DirQNTC.txt
When I open DirQNTC.txt in Notepad++, it will show any trailing blanks
before the CR/LF.
Unfortunately, there's no way to tell if there are any trailing blanks
on the DSPLNK report.
I am trying to automate the collection of the QNTC links with the
trailing blanks into a table on the i, so we can recreate them easily when needed.
My thought is to do:
DIR QNTC\ /b /ad > *some file that can be read in CL or RPG* but am
drawing blanks on how to do this, if it's even possible. Any ideas on
how to accomplish this?
*** CONFIDENTIALITY NOTICE: The information contained in this
communication may be confidential, and is intended only for the use of
the recipients named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution, or copying of this communication, or any of its
contents, is strictly prohibited. If you have received this
communication in error, please return it to the sender immediately and
delete the original message and any copy of it from your computer
system. If you have any questions concerning this message, please
contact the sender. ***
------------------------------
Subject: Digest Footer
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) digest 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.
------------------------------
End of MIDRANGE-L Digest, Vol 23, Issue 1035
********************************************
--
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.
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.