× 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.



Thanks everyone for all your input and suggestions.

I think you provided me with the information I need to go foreward.

Regards,



SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

Visit our website at www.swbc.com




rpg400-l-request@xxxxxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
04/17/2010 12:00 PM
Please respond to
rpg400-l@xxxxxxxxxxxx


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
RPG400-L Digest, Vol 9, Issue 306






Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/rpg400-l
or, via email, send a message with subject or body 'help' to
rpg400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
rpg400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of RPG400-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. Re: how to send files from Iseries to pc network folder
(DLee@xxxxxxxx)
2. RE: how to send files from Iseries to pc network folder
(Richard Schoen)
3. Re: how to send files from Iseries to pc network folder
(Charles Wilt)
4. Re: how to send files from Iseries to pc network folder
(Charles Wilt)
5. RE: how to send files from Iseries to pc network folder
(Alexander, April)
6. Re: cvtch revisited (Barbara Morris)
7. RE: cvtch revisited (Dennis Lovelady)


----------------------------------------------------------------------

message: 1
date: Fri, 16 Apr 2010 13:08:48 -0500
from: DLee@xxxxxxxx
subject: Re: how to send files from Iseries to pc network folder

Charles and John

Thanks for your suggestions.

Appreciate the help.

I haven't ever used the QNTC structure before so it will take somemore
learning on my part.

Right now, I'm wondering how this gets me to a pc network folder, like on
drive T: where a lot of our existing folders reside?
I haven't quit got the connection on how this works.

CPY OBJ('/mydir/myfile.pdf') TODIR('/qntc/pcserver/sharename/')

Regards,



SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

Visit our website at www.swbc.com

------------------------------

message: 2
date: Fri, 16 Apr 2010 12:16:11 -0600
from: "Richard Schoen" <richard@xxxxxxxxxxxxxxx>
subject: RE: how to send files from Iseries to pc network folder

Not sure what the original requestor wanted, but using QNTC to try and
move files to a network drive is painfully flakey at best. Usually
because of mismatches between iSeries and Windows security.

If you want a FREE option, look at setting up Windows Services for Unix
and using NFS to attach to the server drives.

Another free option would be FTP.

If you would like a commercial option for doing Windows files transfers
without the security issues, check out our IFSTools software.

There is an API for sending and retrieving files from/to any Windows
share via CL command.

You can request a FREE demo from our web site or contact me directly.

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT


-----Original Message-----

message: 1
date: Fri, 16 Apr 2010 09:58:25 -0500
from: John Rusling <jrusling@xxxxxxxxxxxxxxxxxxx>
subject: Re: how to send files from Iseries to pc network folder

This article may prove helpful, setupwise.

TechTip: Mapping a Network Drive from the IBM i
http://www.mcpressonline.com/tips-techniques/networking/techtip-mapping-
a-network-drive-from-the-ibm-i.html






------------------------------

message: 3
date: Fri, 16 Apr 2010 15:10:46 -0400
from: Charles Wilt <charles.wilt@xxxxxxxxx>
subject: Re: how to send files from Iseries to pc network folder

First of all, "drive T:" means nothing...that drive mapping is
distinct to a user's PC. While you may have a network share mapped as
"drive T" I could have the same share mapped as "drive J"...

The important thing is to know the "Universal Naming Convention" (or
UNC) path which is
\\pcservername\sharename

Windows uses a file sharing protocol known as Server Message Block (or
SMB)

QNTC is the IBM i's SBM client interface, so you can use it to connect
to Windows network shares

If I've got a Windows PC named MYWINSERVER that has a file share named
MYCOOLFILES, then I can access the files in that share by using
\\MYWINSERVER\MYCOOLFILES

in Windows (try doing a start-->run )

or from the i
/QNTC/MYWINSERVER/MYCOOLFILES

try using WRKLNK '/QNTC/MYWINSERVER/MYCOOLFILES/*'

depending on how the i is configured, your existing windows servers
may not have been auto discovered. So you might need to
mkdir '/QNTC/MYWINSERVER'

before you can see the server and its shares.

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/ifs/rzaaxqntcfs.htm


HTH,
Charles

On Fri, Apr 16, 2010 at 2:08 PM, <DLee@xxxxxxxx> wrote:
Charles and John

Thanks for your suggestions.

Appreciate the help.

I haven't ever used the QNTC structure before so it will take somemore
learning on my part.

Right now, I'm wondering how this gets me to a pc network folder, like
on
drive ?T: ?where a lot of our existing folders reside?
I haven't quit got the connection on how this works.

CPY OBJ('/mydir/myfile.pdf') TODIR('/qntc/pcserver/sharename/')

Regards,



SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

?Visit our website at www.swbc.com

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





------------------------------

message: 4
date: Fri, 16 Apr 2010 15:12:20 -0400
from: Charles Wilt <charles.wilt@xxxxxxxxx>
subject: Re: how to send files from Iseries to pc network folder

One last thing...

This thread has noting to do with RPG and should be moved to MIDRANGE-L

Charles

On Fri, Apr 16, 2010 at 9:41 AM, <DLee@xxxxxxxx> wrote:
Morning;

I create PDF files on the iseries, and have a need to send these files
to
a pc network folder as part of the job stream.

I can supply the network path, but don't know a convenient way to get to
the network folder.

Appreciate any help or comments.

Regards,

Darrell

SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

?Visit our website at www.swbc.com

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





------------------------------

message: 5
date: Fri, 16 Apr 2010 17:32:10 -0400
from: "Alexander, April" <AAlexander@xxxxxxxxxx>
subject: RE: how to send files from Iseries to pc network folder

Darrell,

I create .pdf files in the ifs via RPG and CL, then use an FTP script to
add to a folder on either our (PC)server or our customers.

Hope this helps.
April

-----Original Message-----
From: DLee@xxxxxxxx [mailto:DLee@xxxxxxxx]
Sent: Friday, April 16, 2010 9:41 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: how to send files from Iseries to pc network folder


Morning;

I create PDF files on the iseries, and have a need to send these files to
a pc network folder as part of the job stream.

I can supply the network path, but don't know a convenient way to get to
the network folder.

Appreciate any help or comments.

Regards,

Darrell

SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

Visit our website at www.swbc.com


------------------------------

message: 6
date: Fri, 16 Apr 2010 18:02:39 -0400
from: Barbara Morris <bmorris@xxxxxxxxxx>
subject: Re: cvtch revisited

Dennis Lovelady wrote:
Folks, I have posted code at http://code.midrange.com/6d4d39e9e7.html
that
is intended to exercise the cvtch procedure (to convert hex characters
to
the binary data they represent).


# D cvtch PR ExtProc('cvtch')
# D ptrcharOut 32767 Options(*VarSize)
# D ptrHexIn 65534 Const
# D charLength 10I 0 Value

# cvtch(ASCII: hexIn: hexLen) ;

Dennis, when I looked at your code, I thought the problem was going to
be related to the length parameter. You named the parameter
"charLength" so I thought you were going to pass in the length of the
first parameter (ptrCharOut). But the call is correct, passing the
length of the second hex parameter (ptrHexIn).

So the prototype isn't really incorrect, but it's misleading.


------------------------------

message: 7
date: Fri, 16 Apr 2010 18:12:53 -0400
from: "Dennis Lovelady" <iseries@xxxxxxxxxxxx>
subject: RE: cvtch revisited

Barbara Morris wrote:

# D cvtch PR ExtProc('cvtch')
# D ptrcharOut 32767 Options(*VarSize)
# D ptrHexIn 65534 Const
# D charLength 10I 0 Value

# cvtch(ASCII: hexIn: hexLen) ;

Dennis, when I looked at your code, I thought the problem was going to
be related to the length parameter. You named the parameter
"charLength" so I thought you were going to pass in the length of the
first parameter (ptrCharOut). But the call is correct, passing the
length of the second hex parameter (ptrHexIn).

So the prototype isn't really incorrect, but it's misleading.

Point taken, Barbara, thank you. I'm not sure of the history that caused
me
to use that name. I do know that in both cases (cvtch, cvthc) the length
parameter expresses the longer (the hex) length.

Regards,

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"No one is useless in this world who lightens the burdens of another."
-- Charles Dickens





------------------------------


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.