|
Hey Vern, I was missing the greater than (>) sign to get it to pipe it into the file. Reason being was all of the > signs used in everyones previous text. See below. :) Thanks, Ted >>> vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx 03/01/04 08:47PM >>> Do you have a CD in the drive? It worked for me at V5R1 - the volume ID is shown as the first-level directory under /QOPT. Try wrklnk '/qopt/*' to see if anything is there. HTH Vern At 02:18 PM 3/1/2004 -0800, you wrote: >I just tried this and my volid file is empty. I'm on V5R1. > > >>> michaelr_41@xxxxxxxxxxxxxx 03/01/04 01:53PM >>> >If you do an ls on /qopt, it returns the volume id. I'm then redirecting >the output to a file. > >On Mon, 01 Mar 2004 13:47:38 -0800, "Ted Barry" ><tbarry@xxxxxxxxxxxxxxxxxxxx> said: > > So how is the vol id returned from QSH? > > > > >>> michaelr_41@xxxxxxxxxxxxxx 03/01/04 01:20PM >>> > > You can also do it in QSH if you like, like this: > > > > CRTPF FILE(MICHAEL/VOLID) RCDLEN(80) > > QSH CMD('ls /qopt >/qsys.lib/michael.lib/volid.file/volid.mbr') _______________________________________________ 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 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.