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

Compress Data Compression for MVS Compress Data Compression for Fujitsu Datacom DATACOM - AD Mainframe Software Manager (Chorus Software Manager) MICS Resource Management CIS COMMON SERVICES FOR Z/OS 90S SERVICES DATABASE MANAGEMENT SOLUTIONS FOR DB2 FOR Z/OS COMMON PRODUCT SERVICES COMPONENT Common Services CA ECOMETER SERVER COMPONENT FOC EASYTRIEVE REPORT GENERATOR FOR COMMON SERVICES INFOCAI MAINTENANCE IPC UNICENTER JCLCHECK COMMON COMPONENT Mainframe VM Product Manager CHORUS SOFTWARE MANAGER CA ON DEMAND PORTAL CA Service Desk Manager - Unified Self Service PAM CLIENT FOR LINUX ON MAINFRAME MAINFRAME CONNECTOR FOR LINUX ON MAINFRAME GRAPHICAL MANAGEMENT INTERFACE WEB ADMINISTRATOR FOR TOP SECRET Xpertware

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