Quick Fix Summary
Type FREE 'your.dataset.name' at the TSO READY prompt, then LOGOFF. Log back on and try your ALLOCATE again. If it still fails, open ISPF (option 3.4) and delete the dataset manually.
Yes — the dataset is locked by another job or you lack authority; free it with FREE 'dataset.name' or delete it via ISPF 3.4.
TSO commands are the command-line interface used to interact with IBM Z mainframes running z/OS.
TSO commands are the command-line interface used to interact with IBM Z mainframes running z/OS.
TSO stands for Time Sharing Option/Extensions. Think of it as the command line you use to talk to IBM Z mainframes running z/OS IBM z/OS TSO/E Overview. When ALLOCATE commands freeze or spit out “NOT AUTHORIZED,” the system’s usually protecting a dataset you don’t own or that’s still locked by another job. Picture it like trying to book a hotel room that someone else is still using—your reservation won’t stick until they check out.
Run LISTALC *, FREE 'dataset.name', then retry ALLOCATE.
Run LISTALC *, FREE 'dataset.name', then retry ALLOCATE.
- See what’s already grabbed. At the TSO READY prompt (bottom of your 3270 screen), run:
LISTALC *A table pops up listing every dataset currently “yours” on the system. If the dataset you’re after shows up and isn’t yours, you’ll need to release it. - Let it go. Type the exact command:
FREE 'dataset.name'Swap in the one-line qualifier you grabbed from LISTALC. You should see:IEF285I dataset.name ALLOCATEDright away followed byIEF286I dataset.name FREEDIf you hitIEF343I NOT AUTHORIZED, your RACF or z/OSMF profile isn’t strong enough—jump to “Still stuck?” below. - Try ALLOCATE again. Return to your original ALLOCATE statement. Example:
ALLOC FI(SYSPRINT) SYSOUT=*Hit Enter. - Double-check with LISTALC. Make sure the new entry’s there and the old one’s gone.
- Sign off cleanly. When you’re finished, log out:
LOGOFFThat wipes every allocation tied to your TSO userid.
Call TSO OPER, delete in ISPF 3.4, or use the z/OSMF REST API.
Call TSO OPER, delete in ISPF 3.4, or use the z/OSMF REST API.
- Call in an operator. From the TSO READY prompt, type:
TSO OPER 'F dataset.name, FREE'The console operator can force-release the dataset if RACF is blocking your FREE command. - Delete it in ISPF 3.4. Fire up ISPF (usually option 2 on the main menu), then:
- Pick option 3.4 (Data Set List Utility)
- Type
d dataset.nameon the command line - Press PF3 twice to erase the entry
- Hit the z/OSMF REST API. If your shop has z/OS Management Facility (pretty common these days), open a browser and go to:
https://your-mainframe:9443/zosmf/restfiles/dataSets/dataset.namePick “Delete” and seterase=true. In some setups, this skirts TSO-level authority checks entirely.
Use CLIST aliases, RACF group membership, and ISPF profile tweaks to prevent stale allocations.
Use CLIST aliases, RACF group membership, and ISPF profile tweaks to prevent stale allocations.
| Tip | What to do | Why it helps |
|---|---|---|
| CLIST alias | Build a CLIST called FREEALL that runs FREE '?'; run it at the start of every session. | Kills stale allocations before you even start working. |
| RACF group | Ask your security team to add you to the TSOUSERS group so your FREE commands don’t get blocked. | Group profiles cut “NOT AUTHORIZED” errors by about 70 % IBM z/OS Security Server. |
| ISPF profile tweak | In ISPF Option 0, set CONFIRM=NO and DELETE=YES. | Stops you from accidentally keeping temporary allocations around. |
What is the use of TSO?
Time Sharing Option/Extensions (TSO/E) allows users to create an interactive session with the z/OS® system. TSO provides a single-user logon capability and a basic command prompt interface to z/OS. Most users work with TSO through its menu-driven interface, Interactive System Productivity Facility (ISPF). Honestly, this is the best approach for anyone who needs to get work done on a mainframe.
What is TSO command in mainframe?
Time Sharing Option (TSO) is an interactive time-sharing environment for IBM mainframe operating systems, including OS/360 MVT, OS/VS2 (SVS), MVS, OS/390, and z/OS.
How do you make a TSO command?
- Select the CLIST or REXX exec file on the Files view.
- Click Start Debugging or Run on the Debug menu.
- Click the TSO tab; the Clist or REXX exec to execute field contains the name of the file that you selected.
- Click OK.
What are the three methods of entering TSO commands?
You can enter most TSO commands, CLISTs, and REXX EXECs from all three panel types: data entry; menu; and scrollable data display.
What is difference between TSO and ISPF?
TSO provides a single-user logon capability and a basic command prompt interface to z/OS. What is ISPF? ISPF is a full panel application navigated by keyboard. ISPF includes a text editor and browser, and functions for locating and listing files and performing other utility functions. If you’re serious about mainframe work, ISPF is where you’ll spend most of your time.
What best describes difference between TSO and ISPF?
TSO Stands for Time Sharing Option. ISPF Stands for Interactive Search and Display Facility.
How do I get into TSO?
- At the TSO/E READY prompt.
- In the shell, using the tso shell command. ...
- In the shell, by typing a TSO/E command at the shell prompt and pressing the TSO function key to run it.
- On an ISPF panel.
What is the correct procedure to logoff TSO?
When you are finished using TSO/E, issue the LOGOFF command to sign off from the system and end your terminal session. The system releases your user ID until the next time you issue the LOGON command. You can also sign off from the system by issuing the LOGON command.
What TSO means?
A Technical Standard Order (TSO) is a minimum performance standard issued by the United States Federal Aviation Administration for specified materials, parts, processes, and appliances used on civil aircraft.
What is ISPF command?
- AUTOTYPE.
- BACKWARD.
- BOTTOM.
- CANCEL.
- CMDE.
- COLOR.
- CRETRIEV.
- CUAATTR.
How do you make PDS?
The steps for creating a PDS are the same as creating a sequential data set, except you specify space for the directory. After selecting the DATASET option (option 2) from the Utility Selection Menu, type A on the OPTION line and specify three data set qualifiers in the three ISPF LIBRARY fields.
What is ISPF in mainframe?
In computing, Interactive System Productivity Facility (ISPF) is a software product for many historic IBM mainframe operating systems and currently the z/OS and z/VM operating systems that run on IBM mainframes. ... ISPF is user-extensible and it is often used as an application programming interface.
Which TSO command will deallocate data sets no longer needed?
Use the FREE command to release (deallocate) previously allocated data sets or UNIX file system files that you no longer need. You can also use this command to change the output class of SYSOUT data sets, to delete attribute lists, and to change the data set disposition specified with the ALLOCATE command.
What is it called when you establish a link to a data set?
Allocating a data set. z/OS concepts. To use a data set, you first allocate it (establish a link to it), then access the data using macros for the access method that you have chosen. The allocation of a data set means either or both of two things: To set aside (create) space for a new data set on a disk.
What does 360 in the OS 360 signify?
The name 360 was chosen to convey that a single system could support a full range of machines, though three versions of the operating system existed. OS/360 PCP (Principal Control Program) was the simplest and could run only one program at a time.