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



I agree with you. But I was hoping to find a way, that I didn't have to install anything on the as400. But this may not be possible. I guess I'll go with the API approach, pass the file/library to my 'rpg stored procedure' scan the user space, pull what I need, and pass it pack in a resultset array.

Thank you.
Tim


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Thursday, December 27, 2007 11:56 AM
To: Midrange Systems Technical Discussion
Subject: RE: members in a file

Perhaps you and I come from different worlds. I am thinking "pc app"
typically denotes a different developer than the person who traditionally
develops the server applications. Thus your average pc app developer may
be looking for something like you were looking for originally - a nice
SYS* type of table (or view) that would return them a list of members.
Thus the server developer's assignment would be to develop something that
would either create that table, or, return result sets that the pc app
developer could get via a stored procedure. Thus, I would try to do more
of this on the server and not within the PC app.

Now, whichever method you use I strongly recommend that you do NOT use a
DSPFD to an output file. Instead, search the various API's and use those
instead. The reason that I am suggesting this is, when you upgrade your
version of i5/os, do you really want to have to debug a client based
application that is blowing up because the layout of the output file
changed? And, do you want to support two versions - one for your test
lpar on FutureVersion and your production lpar on CurrentVersion?

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Hatzenbeler, Tim" <thatzenbeler@xxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
12/27/2007 01:51 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: members in a file






It has to be real-time.

And I was trying to keep all the logic, inside of my PC app.

Thanks again for your help, I may have to go that route.

Tim

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Nelson
Sent: Thursday, December 27, 2007 10:46 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: members in a file

The outfile, sorry. How dynamic does this need to be? You could set up a
CL
program to do the DSPFD, and then run it in the job scheduler every night.
Alternatively, you could set up a DTS package to call that same CL
program.
Then you could query the outfile with the PC after you pull it across. If
you use CPYTOIMPF to place the file into the IFS, you wouldn't even need
to
pull it to your PC. Just point your query to the folder in the IFS.

Just a thought.

Paul Nelson
Cell 708-670-6978
Office 512-392-2577
nelsonp@xxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hatzenbeler, Tim
Sent: Thursday, December 27, 2007 12:32 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: members in a file

To yank what file? The PF with my members? Or the OUTFILE, from the
DSPFD? I could retrieve the outfile, but then I would have to tell my PC
program to run the DSPFD command with parameters prior to the "Yank", and
I
don't know how to call the execute dspfd with the ADO provider.

Thanks, Tim

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Nelson
Sent: Thursday, December 27, 2007 10:28 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: members in a file

How about using file transfer to yank the file over to your PC?

Paul Nelson
Cell 708-670-6978
Office 512-392-2577
nelsonp@xxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Hatzenbeler, Tim
Sent: Thursday, December 27, 2007 12:23 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: members in a file

That won't work for me... I'm actually trying to return the member list,
in
a C# .net program. And I just want to use the ado.net data provider. So
I
was hoping to be able to sql a table from PC app. If I was running this
on
my iseries, I would use your suggestion.

Or is someone can tell me how to do this in C# I'm open to suggestions as
well. I'm trying to avoid the ODBC, and OLE DB routes. I want to use the
managed code version of the data provider.

Thanks, Tim

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S. Waterbury
Sent: Thursday, December 27, 2007 10:01 AM
To: Midrange Systems Technical Discussion
Subject: Re: members in a file

DSPFD FILE(library/sourcefile) TYPE(*MBRLIST) OUTPUT(*OUTFILE)
OUTFILE(library/outfilename)

Then query against library/outfilename.

Hatzenbeler, Tim wrote:
Is there a table, I can SQL, that contains the member names of a pf-src
file?

Thanks, Tim



----------------------------------------------------------------------------
--
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.



============================================================================
==


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




----------------------------------------------------------------------------
--
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.


============================================================================
==

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




----------------------------------------------------------------------------
--
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.


============================================================================
==

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




------------------------------------------------------------------------------
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.


==============================================================================

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




------------------------------------------------------------------------------
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.


==============================================================================


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.