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')
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.