IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Edit saved queries in QMF


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ajay_diaz
Warnings : 1

New User


Joined: 12 Sep 2005
Posts: 28

PostPosted: Fri Sep 15, 2006 6:37 am
Reply with quote

Hi All,
How to edit the queries stored as database objects in QMF?
(USERID.QUERYNAME).
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Sep 15, 2006 11:04 am
Reply with quote

Hi Ajay,

U casn go to qmf menu & type

LIST QUERIES
it will give u all the query saved by ur tso id

then Query which u want to edit agaist that press F4 it will open a command window.

RUN queryname
it will execute ur query then press F6 now u can edit ur query.

Correction r welcome
Back to top
View user's profile Send private message
Prajesh_v_p

Active User


Joined: 24 May 2006
Posts: 133
Location: India

PostPosted: Fri Sep 15, 2006 5:06 pm
Reply with quote

To add to Guptae,

typing ed at the command line will give you the editor also...

u can use DI USERID.QUERYNAME(once u know the name else you ll have to use list as guptae said)..this will display the query then type ED at the commad line ..this will givw you the editor also...
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Fri Sep 15, 2006 7:51 pm
Reply with quote

If you know the query name you can also use DISP 'Query-Name'.
Back to top
View user's profile Send private message
ajay_diaz
Warnings : 1

New User


Joined: 12 Sep 2005
Posts: 28

PostPosted: Sun Sep 17, 2006 4:43 am
Reply with quote

Thanks a lot friends!!,......and is there any way by which I can rename the query?
Back to top
View user's profile Send private message
ajay_diaz
Warnings : 1

New User


Joined: 12 Sep 2005
Posts: 28

PostPosted: Tue Oct 03, 2006 8:10 am
Reply with quote

Any pointers on this? icon_sad.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
Search our Forums:

Back to Top