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



Does anyone have a sample mapping program where they have used infoprint
to generate and email a PDF

Application will generate a single Print. Program will parse file annd
route report segments to different email addresses based on customer
I also need to customize the pdf file name subject annd Body text

Thanks for any assistance on this

Mike

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
rpg400-l-request@xxxxxxxxxxxx
Sent: Friday, March 26, 2010 10:52 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 9, Issue 259

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: Modules, Srv progrqms, binding directories (David FOXWELL)
2. RE: Sockets and Telnet (Jon S)
3. Re: Sockets and Telnet (Mark S. Waterbury)
4. Positioning cursor to specific field... (Robert Rogerson)
5. RE: Sockets and Telnet (Jon S)
6. RE: Positioning cursor to specific field... (Wintermute, Sharon)
7. RE: Positioning cursor to specific field... (Dennis Lovelady)
8. Re: Rpg reference example won't compile (????????? ?????????)
9. RE: Positioning cursor to specific field... (hotmail)


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

message: 1
date: Fri, 26 Mar 2010 09:31:40 +0100
from: David FOXWELL <David.FOXWELL@xxxxxxxxx>
subject: RE: Modules, Srv progrqms, binding directories


-----Message d'origine-----
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de DLee@xxxxxxxx

<if you are only now going to begin using modules and binding
directories, does that mean you only program in RPGIII?>

In answer to your question:
No, all of our programs have been converted to rpgle, we are coding in

rpg free, as well as rpgle, and our programs are compiled thru
CRTBNDRPG command.
Any prototypes we use are internal to the program, not external.

Hope this answers your question

Ah, so when you want to share code between programs, you are using CALL
instead of CALLP? Then you are just one step behind (or in front of
depending on how you look at it) us. We use calls to external
procedures, but as yet have no service programs, so every module needed
is bound by copy to the program. The calls are supposed to be rapid, but
the use of procedures in this way means they are duplicated rather than
shared. In my opinion the disadvantages of the maintenance difficulties
far outweigh the advantages (if any) of the program's performance.

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

message: 2
date: Fri, 26 Mar 2010 08:20:57 -0500
from: Jon S <rvrratjon@xxxxxxxxxxx>
subject: RE: Sockets and Telnet


Ok, I have read all of the RFC's and I am feeling pretty smart about
now. But, I have a question for anyone smarter than me. After I get my
login prompt, I am sending my user name followed by a x'25(I am
converting to ascii before I write to the socket), and all I receive
back, is exactly what I sent it (after I convert it back to ebcidic). I
have sent and IAC DON'T ECHO to no avail. Any ideas? Please, if you
don't know the answer, don't respond.



Thanks, Jon








Date: Thu, 11 Mar 2010 12:51:22 -0600
From: rpg400-l@xxxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

hi Jon,

You didn't find the answer to these questions in RFC 854 & RFC 855?

I can go back and read these RFCs and look for an answer (it been
years since I've written a telnet client, please don't expect me to
have it
memorized) but it seems to me that you should be able to find it the
same way...

On 3/11/2010 10:34 AM, Jon S wrote:

I thought I was on the right path with this, but am still stuck.
Based upon these IAC's, can anyone tell me what I need to send back
to just get to a login prompt? No matter what I am sending, I never
receive anything back, it just hangs.

Do I need to respond one at a time, or can I respond to all with one

write to the socket?

I can find very little on this via google. I would think more folks
would have a need to do this. I can think of lots of uses.

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


_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:
ON:WL:en-US:WM_HMP:032010_1

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

message: 3
date: Fri, 26 Mar 2010 09:32:05 -0400
from: "Mark S. Waterbury" <mark.s.waterbury@xxxxxxx>
subject: Re: Sockets and Telnet

Hi, Jon:

Are you sure you are connecting to a telnet server? It sounds almost
like you are connecting to a TCP/IP "echo" service ... what port number
are you connecting to?

Mark S. Waterbury

Jon S wrote:
Ok, I have read all of the RFC's and I am feeling pretty smart about
now. But, I have a question for anyone smarter than me. After I get my
login prompt, I am sending my user name followed by a x'25(I am
converting to ascii before I write to the socket), and all I receive
back, is exactly what I sent it (after I convert it back to ebcidic). I
have sent and IAC DON'T ECHO to no avail. Any ideas? Please, if you
don't know the answer, don't respond.



Thanks, Jon









Date: Thu, 11 Mar 2010 12:51:22 -0600
From: rpg400-l@xxxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

hi Jon,

You didn't find the answer to these questions in RFC 854 & RFC 855?

I can go back and read these RFCs and look for an answer (it been
years since I've written a telnet client, please don't expect me to
have it
memorized) but it seems to me that you should be able to find it the
same way...

On 3/11/2010 10:34 AM, Jon S wrote:

I thought I was on the right path with this, but am still stuck.
Based upon these IAC's, can anyone tell me what I need to send back
to just get to a login prompt? No matter what I am sending, I never
receive anything back, it just hangs.

Do I need to respond one at a time, or can I respond to all with one

write to the socket?

I can find very little on this via google. I would think more folks
would have a need to do this. I can think of lots of uses.


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



_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAG
L:ON:WL:en-US:WM_HMP:032010_1



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

message: 4
date: Fri, 26 Mar 2010 10:11:45 -0400
from: Robert Rogerson <rogersonra@xxxxxxxxx>
subject: Positioning cursor to specific field...

I have checked the archives but I was unable to find the exact answer to
my question.

Simply, is there an alternative way to position the cursor to a specific
field without using DSPATR(PC)?

I have a display with multiple prompt fields. In my prompt routine I
get the field prompted on using RTNCSRLOC(&CURREC &CURFLD). After the
prompt routine completes I wish to position the cursor to the field that
the user prompted on. I'm trying to do this avoiding the use of another
indicator.

Is this possible?

Thanks,

Rob


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

message: 5
date: Fri, 26 Mar 2010 09:17:09 -0500
from: Jon S <rvrratjon@xxxxxxxxxxx>
subject: RE: Sockets and Telnet


port 23. It's definitely telnet.



This is coming back to my RPG program via the socket.



Welcome to Microsoft Telnet Service ????login:





Date: Fri, 26 Mar 2010 09:32:05 -0400
From: mark.s.waterbury@xxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

Hi, Jon:

Are you sure you are connecting to a telnet server? It sounds almost
like you are connecting to a TCP/IP "echo" service ... what port
number are you connecting to?

Mark S. Waterbury

Jon S wrote:
Ok, I have read all of the RFC's and I am feeling pretty smart about
now. But, I have a question for anyone smarter than me. After I get my
login prompt, I am sending my user name followed by a x'25(I am
converting to ascii before I write to the socket), and all I receive
back, is exactly what I sent it (after I convert it back to ebcidic). I
have sent and IAC DON'T ECHO to no avail. Any ideas? Please, if you
don't know the answer, don't respond.



Thanks, Jon









Date: Thu, 11 Mar 2010 12:51:22 -0600
From: rpg400-l@xxxxxxxxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Sockets and Telnet

hi Jon,

You didn't find the answer to these questions in RFC 854 & RFC 855?

I can go back and read these RFCs and look for an answer (it been
years since I've written a telnet client, please don't expect me to

have it
memorized) but it seems to me that you should be able to find it
the same way...

On 3/11/2010 10:34 AM, Jon S wrote:

I thought I was on the right path with this, but am still stuck.
Based upon these IAC's, can anyone tell me what I need to send
back to just get to a login prompt? No matter what I am sending, I

never receive anything back, it just hangs.

Do I need to respond one at a time, or can I respond to all with
one write to the socket?

I can find very little on this via google. I would think more
folks would have a need to do this. I can think of lots of uses.


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



_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from
your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMT
AGL:ON:WL:en-US:WM_HMP:032010_1

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


_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:
ON:WL:en-US:WM_HMP:032010_3

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

message: 6
date: Fri, 26 Mar 2010 09:20:34 -0500
from: "Wintermute, Sharon" <Sharon.Wintermute@xxxxxxxxxxxxxxxx>
subject: RE: Positioning cursor to specific field...

You can use the CSRLOC() to set the row and column to position the
cursor to. Add CSRLOC() to the record format and use 2 hidden fields to
set the location.


Sharon Wintermute

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Robert Rogerson
Sent: Friday, March 26, 2010 9:12 AM
To: RPG programming on the IBM i / System i
Subject: Positioning cursor to specific field...

I have checked the archives but I was unable to find the exact answer to
my question.

Simply, is there an alternative way to position the cursor to a specific
field without using DSPATR(PC)?

I have a display with multiple prompt fields. In my prompt routine I
get the field prompted on using RTNCSRLOC(&CURREC &CURFLD). After the
prompt routine completes I wish to position the cursor to the field that
the user prompted on. I'm trying to do this avoiding the use of another
indicator.

Is this possible?

Thanks,

Rob
--
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: 7
date: Fri, 26 Mar 2010 10:27:45 -0400
from: "Dennis Lovelady" <iseries@xxxxxxxxxxxx>
subject: RE: Positioning cursor to specific field...

Simply, is there an alternative way to position the cursor to a
specific
field without using DSPATR(PC)?

Have you checked the CSRLOC option in the DDS reference? I believe that
is
what you want, IF you can live with the fact that your program must know
the
screen position of each prompt field.

Regards,

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Sometimes I've believed as many as six impossible things before
breakfast.
-- Lewis Carroll





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

message: 8
date: Fri, 26 Mar 2010 11:48:45 +0200
from: ????????? ????????? <amunra@xxxxxx>
subject: Re: Rpg reference example won't compile

Blank prefix not allowed on V5R4.
"The parameter for keyword PREFIX is not valid; keyword is ignored. "

Alex Zhilich


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

message: 9
date: Fri, 26 Mar 2010 10:49:53 -0400
from: "hotmail" <craigjacobsen@xxxxxxxxxxx>
subject: RE: Positioning cursor to specific field...

Rob,

Actually, if you use the same field names for RTNCSRLOC(&ROW &COL) and
CSRLOC(ROW COL)
You won't even have to move anything into ROW and COL.
It will return and put out the same row and col.
(I use this for all of my F4=Prompt fields, cursor always goes back to
where
it was last)
If you have edit checks, you may want to z-add0 to both row and col for
DSPATR(PC)

Here is a sample:
RTNCSRLOC(&RCD &FLD)
RTNCSRLOC(*MOUSE &ROW &COL)
CSRLOC(ROW COL)
ROW 3S 0H
COL 3S 0H

Hth,

Craig


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Robert Rogerson
Sent: Friday, March 26, 2010 10:12 AM
To: RPG programming on the IBM i / System i
Subject: Positioning cursor to specific field...

I have checked the archives but I was unable to find the exact answer to
my
question.

Simply, is there an alternative way to position the cursor to a specific
field without using DSPATR(PC)?

I have a display with multiple prompt fields. In my prompt routine I
get
the field prompted on using RTNCSRLOC(&CURREC &CURFLD). After the
prompt
routine completes I wish to position the cursor to the field that the
user
prompted on. I'm trying to do this avoiding the use of another
indicator.

Is this possible?

Thanks,

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




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


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.