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



Have to look into it.
I know how to do it in green screen mode

-----Original Message-----
From: Matt Olson [mailto:Matt.Olson@xxxxxxxx]
Sent: Thursday, July 02, 2015 4:34 PM
To: Midrange Systems Technical Discussion
Subject: RE: List all objects attached to a journal

Any idea why when I select from that file it is all hexadecimal gibberish when using tools like iSeries navigator run sql scripts?

I can view it fine with strsql from a 5250 session, but still run into limits of the 5250 session display and paging.

Almost there! Just need to figure out how to get it to display properly in a "real" query tool like run sql scripts in navigator, sqldbx, or ibm data studio



-----Original Message-----
From: Buck Calabro [mailto:kc2hiz@xxxxxxxxx]
Sent: Thursday, July 02, 2015 4:17 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: List all objects attached to a journal

On 7/2/2015 4:58 PM, Matt Olson wrote:
How to get that in a queryable fashion? I don't want to copy and paste screens and screens of files individually.

Instead I'd like to do a "select * from listofjournaledfiles" and paste into outlook in one shot.

Very often, midrange commands have the option to direct the output to the display, a printer, or a table. Typically, such commands have a keyword named OUTPUT. These keywords can be seen by typing the command name (here WRKJRNA) on a command line and instead of pressing Enter, press F4 to prompt the command. Depending on settings in your user profile, you may not be able to see the keywords unless you press F11.

It turns out that WRKJRNA is one of those commands where you can direct the output to a table. Here is an example:

WRKJRNA JRN(MYJRN)
OUTPUT(*OUTFILE)
DETAIL(*JRNFILE)
OUTFILE(QTEMP/MYJRN)

--buck

-----Original Message-----
From: Charles Wilt [mailto:charles.wilt@xxxxxxxxx]
Sent: Thursday, July 02, 2015 3:51 PM
To: Midrange Systems Technical Discussion
Subject: Re: List all objects attached to a journal

WRKJRNA

F19=Display journaled objects


On Thu, Jul 2, 2015 at 4:43 PM, Matt Olson <Matt.Olson@xxxxxxxx> wrote:

Midrange forum,

Does anyone know how to list all files attached to a journal?

Any SQL views available?

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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.