Sorting mixed case files
search cancel

Sorting mixed case files

book

Article ID: 54103

calendar_today

Updated On:

Products

Mainframe VM Product Manager VM:Manager Suite for Linux on Mainframe VM:Manager Suite for z/VM VM SUITE VM:Sort

Issue/Introduction

Is there a way to sort files with a mixed case filename or filetype ?

Resolution

It's possible to do so within an EXEC and then call VM:Sort. 

Example:

/* */
trace 0
Address COMMAND
''COPYFILE VIWOV $DEVinfo A = $DEVINFO A (REPLACE''
''VMSORT viwov $devinfo a (fields 1,3,CH,A''
''ERASE VIWOV $DEVINFO A''
''COPYFILE FILE SORTOUT A VIWOV $DEVinfo A (REPLACE''
''ERASE FILE SORTOUT A''
exit rc