Similarly, you can do a SELECT <file> SAVING <field1> <field2> ....

Then read that select list either by subroutine or directly.

The only catch is you need to make sure there is an 'A' in attribute 4 of the 
select verb.

"Kate Stanton" <k...@walstan.com> wrote in message 
news:<caawmjlj_uwxsopifb0fmc9udvmvpfnuauq3czgcvzu+ct_o...@mail.gmail.com>...
> 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 <syme...@gmail.com> 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
> 
This message contains information that may be privileged or confidential and is 
the property of GPM Development Ltd. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient ,you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.

This e-mail was sent to you by GPM Development Ltd.  We are incorporated under 
the laws of England and Wales (company no. 2292156 and VAT registration no. 523 
5622 63).  Our registered office is 6th Floor, AMP House, Croydon, Surrey CR0 
2LX.
 

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

Reply via email to