|
Hi, I got some idea to display the output without using the subfile or anything like that. So, thought of sharing with you all. This is a crude approach, but it works. I wrote a CL program, that receives a parameter and that of-course is User Id. The CL program has a DSPOBJD command, an Opnqryf command to select only the records of the particular user and a CPYFRMQRYF command that just stores the result of the OPNQRYF. Then a Runqry (Queryfile) Statement. QueryFile is a Work query where in I have selected the Fields that are to be displayed to the user. And to make life bit simple, have created a Command. It would be great, if there's an API for this. regards Srinath HCL Technologies Ltd. 244, Udyog Vihar Phase-1 Gurgaon - 122016 Ph-124-6346405/406/407 Extn: 1108 -----Original Message----- From: Venkateshwar V. [SMTP:venkateshwar.raman@wipro.com] Sent: Thursday, January 02, 2003 12:57 PM To: RPG400-L@midrange.com Subject: Need a API. This is a multi-part message in MIME format. -- -- [ Picked text/plain from multipart/alternative ] Hi All, I want to write a program that diplays the lits of object created by user in a particulat Library as Subfile. I can do this by writing a CL that captures the objects for a user by doing DSPOBJD in a file and then a RPG program that reads this file and builds this subfile. Is there any API that will make my job easy i.e. get me a list of objects for a User in a Library ? Thanks and regards, Venky. -- -- **************************Disclaimer**************************************** ********** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. **************************************************************************** ************ -- _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com 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 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.