ASNA Visual RPG (AVR), is pretty well known in the AS/400 marketplace. I will find another forum.
Thanks so much
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rpg400-l-request@xxxxxxxxxxxx
Sent: Friday, August 11, 2017 4:24 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 16, Issue 389
Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=lGZEMlUZFdkXVsE3Om8sxfXGIGZfWaJZiDN3UYBthzA&e=
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: Thread Pool using Task (Justin Taylor)
2. RE: Thread Pool using Task (Justin Taylor)
3. RE: Thread Pool using Task (JRusling@xxxxxxxxxxx)
4. RE: Thread Pool using Task (Krill, Coy)
5. RE: RPG400-L Digest, Vol 16, Issue 388 (Osmany Jorge)
----------------------------------------------------------------------
message: 1
date: Fri, 11 Aug 2017 17:03:13 +0000
from: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
subject: RE: Thread Pool using Task
What language is that?
-----Original Message-----
From: Osmany Jorge [mailto:ojorge@xxxxxxxxxxxxxx]
Sent: Friday, August 11, 2017 10:34 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Thread Pool using Task
This is my code I'm new using AVR, I have this error (ErrorDelegate constructor requires a single argument: a method with the same signature as the delegate.)
Please help me to fix this problem ASAP
BegClass ThreadFactory Access(*Public)
DclFld strResult Type( *String)
//Task Approuch
DclFld taskFirstSplit Type( Task )
DclFld taskSecondSplit Type( Task )
DclFld actionMethod1 Type( Action )
DclFld actionMethod2 Type( Action )
DclProp ListTask Type(List(*Of Task)) Access( *Public )
BegConstructor Access(*Public)
EndConstructor
BegFunc GetAdrXml *String Access( *Public )
actionMethod1 = *New Action(GetAdrXmlSplit1())
actionMethod2 = *New Action(GetAdrXmlSplit2())
taskFirstSplit = *new Task(actionMethod1 )
//taskFirstSplit.id
taskSecondSplit = *new Task(actionMethod2 )
//taskFirstSplit.Id
taskFirstSplit.Start()
taskSecondSplit.Start()
ListTask.Add( taskFirstSplit )
ListTask.Add( taskSecondSplit )
Task.WaitAll(ListTask.ToArray())
//merge everything
LeaveSr strResult
EndFunc
BegFunc GetAdrXmlSplit1 *String Access( *Public )
//Do different things
LeaveSr strResult
EndFunc
BegFunc GetAdrXmlSplit2 *String Access( *Public )
//Do different things
LeaveSr strResult
EndFunc
EndClass
------------------------------
message: 2
date: Fri, 11 Aug 2017 17:03:29 +0000
from: Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
subject: RE: Thread Pool using Task
That's not like any Java I've ever seen.
-----Original Message-----
From: JRusling@xxxxxxxxxxx [mailto:JRusling@xxxxxxxxxxx]
Sent: Friday, August 11, 2017 11:14 AM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Thread Pool using Task
Jorge - Did you mean to post this to the java400-l list? (heh, i 'think'
it's java)
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_java400-2Dl_index.htm&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=HvkinhlkaBTdqUfhRZRlmjQVUrF57kcyuoCn5rzWYQI&e=
John
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
------------------------------
message: 3
date: Fri, 11 Aug 2017 12:05:07 -0500
from: JRusling@xxxxxxxxxxx
subject: RE: Thread Pool using Task
that was just a guess, guess i should have said that's not like any rpg i've ever seen. :-) <br /> The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
------------------------------
message: 4
date: Fri, 11 Aug 2017 17:23:49 +0000
from: "Krill, Coy" <CKrill@xxxxxxxxxxx>
subject: RE: Thread Pool using Task
It's ASNA Visual RPG so it's neither Java nor RPG. ASNA probably has a forum for this somewhere.
Coy Krill
Core Processing Administrator/Analyst
Washington Trust Bank
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of JRusling@xxxxxxxxxxx
Sent: Friday, August 11, 2017 10:05
To: RPG programming on the IBM i (AS/400 and iSeries)
Subject: RE: Thread Pool using Task
Importance: Low
that was just a guess, guess i should have said that's not like any rpg i've ever seen. :-) <br /> The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=lGZEMlUZFdkXVsE3Om8sxfXGIGZfWaJZiDN3UYBthzA&e=
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_rpg400-2Dl&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=eqKLgRavUXrrBPk8kRu_WWnT92AxBOLOm6jCqS_UJvU&e= .
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support
https://urldefense.proofpoint.com/v2/url?u=http-3A__midrange.com&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=d3ojBnW-VW1HLK6gTBLn4_EEpghFg6KG-cml0rX-rxc&e= by shopping at
https://urldefense.proofpoint.com/v2/url?u=http-3A__amazon.com&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=IL9euYR690lzkk6hrEx8jKxPdIXuVNcDc6kYuxFLr4E&e= with our affiliate link:
https://urldefense.proofpoint.com/v2/url?u=http-3A__amzn.to_2dEadiD&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=Ws2jkQXDTzLDyS4HPkGC3d8VNsW_BCVEfEcrFaL8TJ8&s=V3qTceteN8XcFacqOvd21au4p0ZSNyrnu0IMFNjCvwI&e=
---------------------------------------------------------------------
This electronic mail message and any attachments may contain confidential or privileged information and is intended for use solely by the above-referenced recipient. Any review, copying, printing, disclosure, distribution, or other use by any other person or entity is strictly prohibited under applicable law. If you are not the named recipient, or believe you have received this message in error, please immediately notify the sender by replying to this message and delete the copy you received
---------------------------------------------------------------------
------------------------------
message: 5
date: Fri, 11 Aug 2017 20:23:52 +0000
from: Osmany Jorge <ojorge@xxxxxxxxxxxxxx>
subject: RE: RPG400-L Digest, Vol 16, Issue 388
Hi everyone,
This code was written using ASNA visual RPG, I need to figure out how to code it properly
BegClass ThreadFactory Access(*Public)
DclFld strResult Type( *String)
//Task Approuch
DclFld taskFirstSplit Type( Task )
DclFld taskSecondSplit Type( Task )
DclFld actionMethod1 Type( Action )
DclFld actionMethod2 Type( Action )
DclProp ListTask Type(List(*Of Task)) Access( *Public )
BegConstructor Access(*Public)
EndConstructor
BegFunc GetAdrXml *String Access( *Public )
actionMethod1 = *New Action(GetAdrXmlSplit1())
actionMethod2 = *New Action(GetAdrXmlSplit2())
taskFirstSplit = *new Task(actionMethod1 )
//taskFirstSplit.id
taskSecondSplit = *new Task(actionMethod2 )
//taskFirstSplit.Id
taskFirstSplit.Start()
taskSecondSplit.Start()
ListTask.Add( taskFirstSplit )
ListTask.Add( taskSecondSplit )
Task.WaitAll(ListTask.ToArray())
//merge everything
LeaveSr strResult
EndFunc
BegFunc GetAdrXmlSplit1 *String Access( *Public )
//Do different things
LeaveSr strResult
EndFunc
BegFunc GetAdrXmlSplit2 *String Access( *Public )
//Do different things
LeaveSr strResult
EndFunc
EndClass
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rpg400-l-request@xxxxxxxxxxxx
Sent: Friday, August 11, 2017 1:00 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 16, Issue 388
Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=DQICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=pf5ps34nDK5U4__KA_TL0JsXGQOQP4z3NOFEujWu6Hc&m=DDL-uvDdWNT2X_sFtnnHgb50mmjOC77fHMm9UIyGLhk&s=izptjdsbV65u3K2jRt-IurZOorI7XqgS2d147hWzNgQ&e=
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: Service program / procedure design and naming conventions
(Mark Murphy/STAR BASE Consulting Inc.)
2. Thread Pool using Task (Osmany Jorge)
3. Re: Thread Pool using Task (JRusling@xxxxxxxxxxx)
----------------------------------------------------------------------
message: 1
date: Fri, 11 Aug 2017 09:45:07 -0400
from: "Mark Murphy/STAR BASE Consulting Inc."
<mmurphy@xxxxxxxxxxxxxxx>
subject: Re: Service program / procedure design and naming conventions
I may have mentioned this at some time in the past, here, or maybe in a blog post somewhere.
Mark Murphy
Atlas Data Systems
mmurphy@xxxxxxxxxxxxxxx
-----JRusling@xxxxxxxxxxx wrote: -----
To: "RPG programming on the IBM i \(AS/400 and iSeries\)" <rpg400-l@xxxxxxxxxxxx>
From: JRusling@xxxxxxxxxxx
Date: 08/09/2017 10:19AM
Subject: Re: Service program / procedure design and naming conventions
Mark,
I read about this methodology on the group? awhile back and am moving in
the same direction.
John
<snip>
... I keep a single universal binding directory for creating programs
(*PGM), but for service programs (*SRVPGM) I create individual special
purpose binding directories. ...
</snip>
<br />
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful.
As an Amazon Associate we earn from qualifying purchases.