MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QMF

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
vani
Beginner


Joined: 28 May 2003
Posts: 51
Topics: 30

PostPosted: Thu Nov 13, 2003 9:57 am    Post subject: QMF Reply with quote

In QMF, we can use the LIST command to get a list of QMF objects in the QMF Objects list panel. Is there any way in which this list can be saved or exported to a data set?

Alternatively, can the list of QMF objects belonging to a particular owner be extracted from any QMF internal table?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Nov 13, 2003 4:37 pm    Post subject: Reply with quote

vani,

You can export the object list, but it would be cumbersome. Check this link for exporting the object list

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSQGS071/2.1.4?DT=20000828131620

For your second question you need the owner parm on the list command.Check this link for detailed explanation of LIST command

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSQRF071/1.48?DT=20000828131906

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Fri Nov 14, 2003 8:52 am    Post subject: Reply with quote

Vani,
As Kolusu said this is a cumbersome process, it depends on how much of effort you want to put in. Maybe somebody has done this on this board. We can write a QMF batch process to take in the Owner Id and run it in a loop thru a Cobol program. Pass the Owner Id, read the relevant Q tables - Q_OBJECT_DIRECTORY, and EXPORT + QTYPE + QOWNER '.' QNAME-TEXT. Keep exporting all the Queries for a particular owner is finished. I am not a rexx expert, but you can also do it in rexx. Following is the information from the Q.OBJECT_DIRECTORY
NAME TBNAME TBCREATOR COLNO COLTYPE LENGTH
------------------ ------------------ --------- ------ -------- ------
MODIFIED OBJECT_DIRECTORY Q 9 TIMESTMP 10
LAST_USED OBJECT_DIRECTORY Q 10 TIMESTMP 10
OWNER OBJECT_DIRECTORY Q 1 CHAR 8
NAME OBJECT_DIRECTORY Q 2 VARCHAR 18
TYPE OBJECT_DIRECTORY Q 3 CHAR 8
SUBTYPE OBJECT_DIRECTORY Q 4 CHAR 8
OBJECTLEVEL OBJECT_DIRECTORY Q 5 INTEGER 4
RESTRICTED OBJECT_DIRECTORY Q 6 CHAR 1
MODEL OBJECT_DIRECTORY Q 7 CHAR 8
CREATED OBJECT_DIRECTORY Q 8 TIMESTMP 10
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group