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



Suresh,
Thanks for your response. The record length is not fixed. Also, it may
have any number of records. In fact, it can even be a text file (ASCII
file). I need to send the data in the text file or the physical file
across to the server using TCP/IP. How do I do it?

Regards,
Ritu

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Suresh Moda (EAI -
JD Edwards)
Sent: Thursday, April 28, 2005 6:01 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Sending file data using TCP/IP

Hello Ritu, 

Do you know the Record Format Length?

If you know the length of the record which you are going to receive you
can
define the Physical File 

using command

CRTPF FILE(QTEMP/FTPRECIVE) RCDLEN(RECORD LENGTH) 

I think this may help you.

Regards,

Suresh 



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rituparna buragohain
Sent: Thursday, April 28, 2005 5:41 PM
To: RPG programming on the AS400 / iSeries
Subject: Sending file data using TCP/IP


Hi,
My requirement is to transfer the data from File1 (it can have any
number of fields) from the client to the server using TCP/IP and the
data received by the server has to be written on to File2 in the same
format.
How do I go about with this?

I have done the same in Java using StringBuffer(). 
                        
I am new to RPG and need your help!

Thanks,
Ritu

-- 
This is the RPG programming on the AS400 / iSeries (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.

http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@xxxxxxxxx and delete this mail. 
_____________________________________________________________________


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.