• Subject: Re:Query/400 Defaults
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Wed, 5 Nov 1997 09:16:00 -0500

>SQL/400 stores your previous session information for your future re-use..
You leave SQL/400 and say, "save session," and it does.  The next time you
use SQL, your previous SQL statements are there for your copying pleasure..

>Until the day you start SQL sessions from more than 1 workstation (or more
than 1 RUMBA or Client Access session) at the same time.  From that point
on, you have separate 'prior sessions,' one for each workstation..

>How, oh how do we un-do this 'convenience,' and go back to a single
'previous session' for a user?

I doubt you can consolidate the separate "prior sessions" into a single
"previous session" for a user, but you have several options:

F13 to get to Services, then option 4 to save the session to a source file.
        This has the potential advantage of allowing you to create a central
        "database" of SQL statements for all your SQL users: save the session
        to a "work" member, then copy the appropriate statements to a 
        "toolkit" member and annotate them.  You can then use normal
        security to let the proper users see the proper statements via a
        simple menu option that executes STRSEU SRCFILE(SQLTOOLS)
        SRCMBR(*SELECT) OPTION(5) - lets 'em look but not touch!        
        "Copy & Paste" can get them from the source member to the SQL
        session...
Use Windoze "Copy & Paste" functions to get code from one session to
        the other.  This only works if both sessions are on the same PC.

I keep commonly used SQL statements in my folder on the Novell Server
so I can "Copy & Paste" them no matter where I am in the company.
You can use WordPad to read/annotate/update the file, and it also
prints nicely should you need a hard copy.  In addition, you can easily
email a PC file anywhere...

hth
Buck Calabro
Commsoft

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.