Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread Israel, John R.
As far as the number of arguments changing, I will often write a subroutine 
with a few extra variables (FUTURE1, FUTURE2, FUTURE3) so that I do not need to 
find all the existing programs that call it and recompile them.  It makes this 
sort of thing a piece of cake.  The existing programs will likely not need to 
populate the arguments other than initialized to null.

John Israel

Sent from my iPhone

On Dec 3, 2012, at 9:28 PM, "Kate Stanton"  wrote:

> I would hate to see that in our software, as it would be so hard to find
> where a subroutine is used.
> 
> On the odd occasion we use this form (eg call depends on transaction type),
> we do the definition just above, so it can be found.
> 
> In my experience, the number of parameters is more likely to change that
> the subroutine name.
> 
> On 4 December 2012 13:38, Wjhonson  wrote:
> 
>> I've not encountered this is my career previously, but now I'm seeing a
>> system written almost entirely with the use of indirect calls in Universe
>> BASIC.
>> 
>> That is
>> SOURCE = "*SOME.PROGRAM"
>> ...
>> CALL @SOURCE(INPUTS)
>> 
>> Is there some advantage to the use of indirect calls that a system would
>> be written entirely in this fashion?
>> 
>> 
>> ___
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>> 
> 
> 
> 
> -- 
> Kate Stanton
> Walstan Systems Ltd
> 4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand
> Phone: + 64 9 360 5310  Mobile: + 64 21 400 486
> Email: k...@walstan.com
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread Ed Clark
I could see a 4gl writing out this kind of code, or a menu system. 
When you use indirect calling, the name of the subroutine can contain odd 
characters that wouldn't normally be allowed--though on some platforms you can 
also quote the call, e.g.:
  CALL "my-sub**"(parms)

On Dec 3, 2012, at 7:38 PM, Wjhonson  wrote:

> I've not encountered this is my career previously, but now I'm seeing a 
> system written almost entirely with the use of indirect calls in Universe 
> BASIC.
> 
> That is
> SOURCE = "*SOME.PROGRAM"
> ...
> CALL @SOURCE(INPUTS)
> 
> Is there some advantage to the use of indirect calls that a system would be 
> written entirely in this fashion?
> 
> 
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread Kate Stanton
Why not call a subroutine to do REFORMAT to a file, then read the file and
return the output.  That will give you your I-type data (if I am reading
what you are after correctly).

On 4 December 2012 03:48, Symeon Breen  wrote:

> Hi - I have been using uniobjects.net for many years now,   however I
> usually use it to call a basic subroutine on the u2 server.  I now have a
> little project where I need to get a number of records from a file, ideally
> like the output of a list command as I have some itypes I also need to get.
>
> I could do this via a select list and read the ids into a unidataset and
> then call other programs to get the itype data, or I could do a unixml
> probably a few other ways.
>
>
>
> So what is the best way to do this ?
>
>
>
>
>
>
>
> Thanks
>
> Symeon.
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>



-- 
Kate Stanton
Walstan Systems Ltd
4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand
Phone: + 64 9 360 5310  Mobile: + 64 21 400 486
Email: k...@walstan.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread Kate Stanton
I would hate to see that in our software, as it would be so hard to find
where a subroutine is used.

On the odd occasion we use this form (eg call depends on transaction type),
we do the definition just above, so it can be found.

In my experience, the number of parameters is more likely to change that
the subroutine name.

On 4 December 2012 13:38, Wjhonson  wrote:

> I've not encountered this is my career previously, but now I'm seeing a
> system written almost entirely with the use of indirect calls in Universe
> BASIC.
>
> That is
> SOURCE = "*SOME.PROGRAM"
> ...
> CALL @SOURCE(INPUTS)
>
> Is there some advantage to the use of indirect calls that a system would
> be written entirely in this fashion?
>
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>



-- 
Kate Stanton
Walstan Systems Ltd
4 Kelmarna Ave, Herne Bay, Auckland 1011, New Zealand
Phone: + 64 9 360 5310  Mobile: + 64 21 400 486
Email: k...@walstan.com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread George Gallen
I've used it to dynamically create the subroutine name to call, based on 
criteria, also you pass a name
   from one program to another, then call that subroutine from that program.

George


George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com

From: u2-users-boun...@listserver.u2ug.org 
[u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson [wjhon...@aol.com]
Sent: Monday, December 03, 2012 7:38 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Advantage of indirect call in BASIC

I've not encountered this is my career previously, but now I'm seeing a system 
written almost entirely with the use of indirect calls in Universe BASIC.

That is
SOURCE = "*SOME.PROGRAM"
...
CALL @SOURCE(INPUTS)

Is there some advantage to the use of indirect calls that a system would be 
written entirely in this fashion?


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread Allen Egerton
On 12/3/2012 7:38 PM, Wjhonson wrote:
> I've not encountered this is my career previously, but now I'm seeing a 
> system written almost entirely with the use of indirect calls in Universe 
> BASIC.
> 
> That is
> SOURCE = "*SOME.PROGRAM"
> ...
> CALL @SOURCE(INPUTS)
> 
> Is there some advantage to the use of indirect calls that a system would be 
> written entirely in this fashion?

In Prime Information, the reference would be resolved the first time
that the routine was called, and it would be cached.  Thereafter, calls
to the routine would be faster.

The other reason would be to allow varying programs to be assigned to
the @var reference.

-- 
Allen Egerton; aeger...@pobox.com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread larryh
I've worked on a system that uses this approach.  A bunch of variables are
defined in the startup program called by the LOGIN paragraph, and stored
in named common.  The idea behind it was to centralize in the event that
the called program ever needed to be changed.

Larry Hiscock
Western Computer Services


> Maybe some plan to change SOUREC at some key point w/o having to change it
> in multiple places?
>
> Looks like an idea that wasn't fully thought out, but that is just my 2
> cents worth.  Maybe someone has some pearls of wisdom on this.
>
>
> JRI
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
> Sent: Monday, December 03, 2012 7:39 PM
> To: u2-users@listserver.u2ug.org
> Subject: [U2] Advantage of indirect call in BASIC
>
> I've not encountered this is my career previously, but now I'm seeing a
> system written almost entirely with the use of indirect calls in Universe
> BASIC.
>
> That is
> SOURCE = "*SOME.PROGRAM"
> ...
> CALL @SOURCE(INPUTS)
>
> Is there some advantage to the use of indirect calls that a system would
> be written entirely in this fashion?
>
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Advantage of indirect call in BASIC

2012-12-03 Thread Israel, John R.
Maybe some plan to change SOUREC at some key point w/o having to change it in 
multiple places?

Looks like an idea that wasn't fully thought out, but that is just my 2 cents 
worth.  Maybe someone has some pearls of wisdom on this.


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Monday, December 03, 2012 7:39 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Advantage of indirect call in BASIC

I've not encountered this is my career previously, but now I'm seeing a system 
written almost entirely with the use of indirect calls in Universe BASIC.

That is
SOURCE = "*SOME.PROGRAM"
...
CALL @SOURCE(INPUTS)

Is there some advantage to the use of indirect calls that a system would be 
written entirely in this fashion?


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Advantage of indirect call in BASIC

2012-12-03 Thread Wjhonson
I've not encountered this is my career previously, but now I'm seeing a system 
written almost entirely with the use of indirect calls in Universe BASIC.

That is
SOURCE = "*SOME.PROGRAM"
...
CALL @SOURCE(INPUTS)

Is there some advantage to the use of indirect calls that a system would be 
written entirely in this fashion?


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread Symeon Breen
Pretty much the options I had thought - although on the json front I have
used  System.Web.Script.Serialization.JavaScriptSerializer for json serial
and deserial isation

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach
Sent: 03 December 2012 16:15
To: 'U2 Users List'
Subject: Re: [U2] uniobjects.net

Simeon

There isn't a single standard, it depends on a) how easy it is to generate
the data in the first place and b) what you want to do with it after..

Going UniXML gives you the option to generate a dataset which is easy for
binding but has large overheads,  or more usefully to grab the content into
an XDocument and parse it into List using LINQ whilst
preserving the structure: the latter gives you more flexibility and you
don't need to normalize or navigate the parent/child relations created in a
dataset if you have multivalued data. 

Of course you don't have to use UniXML to bring back XML for LINQ - you can
bring that back in a subroutine argument, having generated it directly in
BASIC. If you create a template for your XML document and for the row and
just use the CHANGE() function to populate placeholders, that's often
quicker than calling out to the XML features in the database - just make
sure you handle the escapes. 

Ditto JSON, but unless you're calling from a web service consuming context
there isn't really the tooling exposed in .NET to then do anything useful
with it (there is a LINQ provider for JSON but it converts it into XML
behind the scenes before parsing).

If you want to work raw returning data from a subroutine, you can delimit
your records with char(255) and simply split() them on the client into an
array and possibly List.AddRange(array). But you would still then have to
do the work of interpreting the individual record contents after separating
them.

All of which is an answer that is no answer..


Brian

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: 03 December 2012 15:55
To: 'U2 Users List'
Subject: Re: [U2] uniobjects.net

I could use a basic subroutine, but in order for it to return a couple of
hundred records, it would have to either delimit the records somehow  or
generate an xml or json string, and I just wanted to see if there was a
better/more standard way of doing this.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
mhilb...@ppcsoftware.com
Sent: 03 December 2012 15:07
To: U2 Users List
Subject: Re: [U2] uniobjects.net

 If the supposed access time for these records is rather quick, 200  records
is a relatively small record set. Although there are technically  more
elegant ways of doing this, why cant you just stick with your  proven basic
subroutine call?


 On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote:
> Ahh yes  - upto about 200 ish
>
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
> mhilb...@ppcsoftware.com
> Sent: 03 December 2012 14:47
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] uniobjects.net
>
>  For me the key is in how many is "a number of records"?
>
>
>  On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote:
>> Hi - I have been using uniobjects.net for many years now,   however 
>> I
>> usually use it to call a basic subroutine on the u2 server.  I now 
>> have a little project where I need to get a number of records from a 
>> file, ideally like the output of a list command as I have some itypes 
>> I also need to get.
>>
>> I could do this via a select list and read the ids into a unidataset 
>> and then call other programs to get the itype data, or I could do a 
>> unixml probably a few other ways.
>>
>>
>>
>> So what is the best way to do this ?
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>> Symeon.
>>
>> ___
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> -
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 
> 12/02/12
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12

___
U2-Users mailing l

Re: [U2] uniobjects.net

2012-12-03 Thread Brian Leach
Simeon

There isn't a single standard, it depends on a) how easy it is to generate
the data in the first place and b) what you want to do with it after..

Going UniXML gives you the option to generate a dataset which is easy for
binding but has large overheads,  or more usefully to grab the content into
an XDocument and parse it into List using LINQ whilst
preserving the structure: the latter gives you more flexibility and you
don't need to normalize or navigate the parent/child relations created in a
dataset if you have multivalued data. 

Of course you don't have to use UniXML to bring back XML for LINQ - you can
bring that back in a subroutine argument, having generated it directly in
BASIC. If you create a template for your XML document and for the row and
just use the CHANGE() function to populate placeholders, that's often
quicker than calling out to the XML features in the database - just make
sure you handle the escapes. 

Ditto JSON, but unless you're calling from a web service consuming context
there isn't really the tooling exposed in .NET to then do anything useful
with it (there is a LINQ provider for JSON but it converts it into XML
behind the scenes before parsing).

If you want to work raw returning data from a subroutine, you can delimit
your records with char(255) and simply split() them on the client into an
array and possibly List.AddRange(array). But you would still then have to
do the work of interpreting the individual record contents after separating
them.

All of which is an answer that is no answer..


Brian

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: 03 December 2012 15:55
To: 'U2 Users List'
Subject: Re: [U2] uniobjects.net

I could use a basic subroutine, but in order for it to return a couple of
hundred records, it would have to either delimit the records somehow  or
generate an xml or json string, and I just wanted to see if there was a
better/more standard way of doing this.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
mhilb...@ppcsoftware.com
Sent: 03 December 2012 15:07
To: U2 Users List
Subject: Re: [U2] uniobjects.net

 If the supposed access time for these records is rather quick, 200  records
is a relatively small record set. Although there are technically  more
elegant ways of doing this, why cant you just stick with your  proven basic
subroutine call?


 On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote:
> Ahh yes  - upto about 200 ish
>
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
> mhilb...@ppcsoftware.com
> Sent: 03 December 2012 14:47
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] uniobjects.net
>
>  For me the key is in how many is "a number of records"?
>
>
>  On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote:
>> Hi - I have been using uniobjects.net for many years now,   however 
>> I
>> usually use it to call a basic subroutine on the u2 server.  I now 
>> have a little project where I need to get a number of records from a 
>> file, ideally like the output of a list command as I have some itypes 
>> I also need to get.
>>
>> I could do this via a select list and read the ids into a unidataset 
>> and then call other programs to get the itype data, or I could do a 
>> unixml probably a few other ways.
>>
>>
>>
>> So what is the best way to do this ?
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>> Symeon.
>>
>> ___
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> -
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 
> 12/02/12
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread Symeon Breen
I could use a basic subroutine, but in order for it to return a couple of
hundred records, it would have to either delimit the records somehow  or
generate an xml or json string, and I just wanted to see if there was a
better/more standard way of doing this.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
mhilb...@ppcsoftware.com
Sent: 03 December 2012 15:07
To: U2 Users List
Subject: Re: [U2] uniobjects.net

 If the supposed access time for these records is rather quick, 200  records
is a relatively small record set. Although there are technically  more
elegant ways of doing this, why cant you just stick with your  proven basic
subroutine call?


 On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote:
> Ahh yes  - upto about 200 ish
>
>
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
> mhilb...@ppcsoftware.com
> Sent: 03 December 2012 14:47
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] uniobjects.net
>
>  For me the key is in how many is "a number of records"?
>
>
>  On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote:
>> Hi - I have been using uniobjects.net for many years now,   however 
>> I
>> usually use it to call a basic subroutine on the u2 server.  I now 
>> have a little project where I need to get a number of records from a 
>> file, ideally like the output of a list command as I have some itypes 
>> I also need to get.
>>
>> I could do this via a select list and read the ids into a unidataset 
>> and then call other programs to get the itype data, or I could do a 
>> unixml probably a few other ways.
>>
>>
>>
>> So what is the best way to do this ?
>>
>>
>>
>>
>>
>>
>>
>> Thanks
>>
>> Symeon.
>>
>> ___
>> U2-Users mailing list
>> U2-Users@listserver.u2ug.org
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> -
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 
> 12/02/12
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread Sunny Matharoo
If the records are a small number that UniXML straight into a dataset is
very easy to use

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Symeon Breen
Sent: 03 December 2012 14:49
To: u2-users@listserver.u2ug.org
Subject: [U2] uniobjects.net

Hi - I have been using uniobjects.net for many years now,   however I
usually use it to call a basic subroutine on the u2 server.  I now have
a little project where I need to get a number of records from a file,
ideally like the output of a list command as I have some itypes I also
need to get. 

I could do this via a select list and read the ids into a unidataset and
then call other programs to get the itype data, or I could do a unixml
probably a few other ways.

 

So what is the best way to do this ?

 

 

 

Thanks

Symeon.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread mhilbert
If the supposed access time for these records is rather quick, 200 
records is a relatively small record set. Although there are technically 
more elegant ways of doing this, why cant you just stick with your 
proven basic subroutine call?



On Mon, 3 Dec 2012 14:59:43 -, Symeon Breen wrote:

Ahh yes  - upto about 200 ish


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
mhilb...@ppcsoftware.com
Sent: 03 December 2012 14:47
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] uniobjects.net

 For me the key is in how many is "a number of records"?


 On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote:
Hi - I have been using uniobjects.net for many years now,   however 
I

usually use it to call a basic subroutine on the u2 server.  I now
have a little project where I need to get a number of records from a
file, ideally like the output of a list command as I have some 
itypes

I also need to get.

I could do this via a select list and read the ids into a unidataset
and then call other programs to get the itype data, or I could do a
unixml probably a few other ways.



So what is the best way to do this ?







Thanks

Symeon.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 
12/02/12


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread Symeon Breen
Ahh yes  - upto about 200 ish


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of
mhilb...@ppcsoftware.com
Sent: 03 December 2012 14:47
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] uniobjects.net

 For me the key is in how many is "a number of records"?


 On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote:
> Hi - I have been using uniobjects.net for many years now,   however I
> usually use it to call a basic subroutine on the u2 server.  I now 
> have a little project where I need to get a number of records from a 
> file, ideally like the output of a list command as I have some itypes 
> I also need to get.
>
> I could do this via a select list and read the ids into a unidataset 
> and then call other programs to get the itype data, or I could do a 
> unixml probably a few other ways.
>
>
>
> So what is the best way to do this ?
>
>
>
>
>
>
>
> Thanks
>
> Symeon.
>
> ___
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
-
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2221 / Virus Database: 2634/5433 - Release Date: 12/02/12

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] uniobjects.net

2012-12-03 Thread mhilbert

For me the key is in how many is "a number of records"?


On Mon, 3 Dec 2012 14:48:45 -, Symeon Breen wrote:

Hi - I have been using uniobjects.net for many years now,   however I
usually use it to call a basic subroutine on the u2 server.  I now 
have a
little project where I need to get a number of records from a file, 
ideally
like the output of a list command as I have some itypes I also need 
to get.


I could do this via a select list and read the ids into a unidataset 
and
then call other programs to get the itype data, or I could do a 
unixml

probably a few other ways.



So what is the best way to do this ?







Thanks

Symeon.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] uniobjects.net

2012-12-03 Thread Symeon Breen
Hi - I have been using uniobjects.net for many years now,   however I
usually use it to call a basic subroutine on the u2 server.  I now have a
little project where I need to get a number of records from a file, ideally
like the output of a list command as I have some itypes I also need to get. 

I could do this via a select list and read the ids into a unidataset and
then call other programs to get the itype data, or I could do a unixml
probably a few other ways.

 

So what is the best way to do this ?

 

 

 

Thanks

Symeon.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users