How to display, or edit text, XML and other ASCII files on your USS partition via TSO

book

Article ID: 52203

calendar_today

Updated On:

Products

CA Compress Data Compression for MVS CA Compress Data Compression for Fujitsu CA Datacom CA DATACOM - AD CA Mainframe Software Manager (Chorus Software Manager) CA MICS Resource Management CA CIS CA Common Services for z/OS CA 90s Services CA Database Management Solutions for DB2 for z/OS CA Common Product Services Component CA Common Services CA ecoMeter Server Component FOC CA Easytrieve Report Generator for Common Services CA Infocai Maintenance CA IPC Unicenter CA-JCLCheck Common Component CA Mainframe VM Product Manager CA Chorus Software Manager CA On Demand Portal CA Service Desk Manager - Unified Self Service CA PAM Client for Linux for zSeries CA Mainframe Connector for Linux on System z CA Graphical Management Interface CA Web Administrator for Top Secret CA CA- Xpertware CA Datacom/AD

Issue/Introduction

Description:

Sometimes it is needed to change files on the USS partition to customize them. Like the profile file, or the server.xml. To do this you can use the VI or ED commands in USS itself.
But they are very user unfriendly. How to prevent the usage of VI and ED.

Solution:

In TSO PDF there is the option 3 (Utilities) and on this Utility panel you have option 17: Udlist. It can print or display z/OS UNIX directory lists. To display the file you can enter the 'E' (edit) command line, but when it's ASCII, you will only see 'garbage' on your screen. If you issue the 'EA' line command, then you will see the text in EBCDIC instead of ASCII. (EA: Edit a ASCII file)

Environment

Release:
Component: MSM