Skip to content

Unable to specify volser with files ls am request #2710

@DavidGahringTXCPA

Description

@DavidGahringTXCPA

Describe the bug

When using the files functions for datasets you can specify the volser (--volume-serial) on almost all the functions, except for the am (all members) function for a PDS.

I don't understand why the volser option is available in other functions, but not when listing members? This really bit us when using the zowe cli in a cross LPAR pipeline. I can add members, update members and delete members using the --volume-serial option, but I can't list a member using that option. This makes is impossible to see the member stats for a PDS on another lpar.

Not certain whether this would be considered a bug or an oversight?

Expected and actual results

Expected:
I would expect the --volume-serial option would be allowed in the 'zowe files ls am' function.

Actual:

[me ~]$ zowe files ls am 'sys1.samplib' --volume-serial xxxxxx --pattern hwtjxc1 --attributes
Unable to perform this operation due to the following problem.
Unknown arguments: volume-serial, volumeSerial
Command failed due to improper syntax
Command entered: "files ls am sys1.samplib --volume-serial xxxxxx --pattern hwtjxc1 --attributes"
Available commands are "all-members, data-set, uss-files, file-system".
Use "zowe files ls --help" to view groups, commands, and options.

Response From Service
Error: Unknown arguments: volume-serial, volumeSerial

Diagnostic Information
Unknown arguments: volume-serial, volumeSerial

Describe your environment

[me ~]$ zowe --version
CLI Version: 8.30.1
Zowe Release Version: v3.4.1
[me ~]$ zowe plugins list --short
No plugins have been installed into your CLI application.
[me ~]$ node --version
v18.20.7
[me ~]$ npm --version
10.8.2
[DGAH256@MVS2 ~]$ uname -aI
z/OS xxx 05.00 02 9175
[me ~]$ $SHELL --version
GNU bash, version 4.3.48(2)-release (i370-ibm-openedition)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Additional context

FYI, I also reviewed the zOSMF APIs and don't seem to find a way to do this via those either, so I may be asking for something that isn't feasible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BlockedenhancementNew feature or requestpriority-lowLegit issue but cosmetic or nice-to-havezosmfIssues in z/OSMF that surface in Zowe CLI

    Type

    No type

    Projects

    Status

    Low Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions