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')
> 
> On Mon, 1 Mar 2004 14:16:54 -0600 , "Murphy, Guy"
> <murphy@xxxxxxxxxxxxxxxxx> said:
> > DSPOPT VOL(*ALL) OUTPUT(*OUTFILE) or
> > DSPOPT VOL(*ALL) OUTPUT(*USRSPC)
> > 
> > 
> > Guy Murphy
> > murphyfa@xxxxxxxx 
> > UADIS at the University of Illinois
> > 217-333-8670
> > http://www.heisercoaching.com 
> > 
> > 
> > -----Original Message-----
> > From: Ted Barry [mailto:tbarry@xxxxxxxxxxxxxxxxxxxx] 
> > Sent: Monday, March 01, 2004 1:50 PM
> > To: midrange-l@xxxxxxxxxxxx 
> > Subject: QOPT Volume Retrieval
> > 
> > 
> > Is there a way to automate retrieval of the vol id?  This would be
> > helpful
> > in creating applications so the user can load their own cds.
> > 
> > Thanks,
> >    Ted
> > 
> > 
> > 
> > _______________________________________________
> > 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.
> > 
> -- 
>   
>   michaelr_41@xxxxxxxxxxxxxx 
> 
> -- 
> http://www.fastmail.fm - Send your email first class
> _______________________________________________
> 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.
> 
-- 
  
  michaelr_41@xxxxxxxxxxxxxx

-- 
http://www.fastmail.fm - Consolidate POP email and Hotmail in one place

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