IBM Support

Message QSH0101 - Descriptor 0 Not Allocated In Job

Troubleshooting


Problem

This document will discuss the cause and resolution for the message QSH0101 - "Descriptor 0 Not Allocated in Job".

Resolving The Problem

This document discusses the cause and resolution for the message QSH0101 - Descriptor 0 Not Allocated in Job.

Problem

A message QSH0101 error message occurs when attempting to start a Qshell Interpreter session.

Message ID . . . . . . . . . :   QSH0101                                      
Message file . . . . . . . . :   QZSHMSGF                                    
Library  . . . . . . . . . . :   QSHELL                                    
                                                                             
Message . . . . :   Descriptor 0 not allocated in job.                      
Cause . . . . . :   Descriptor 0 is not allocated in the job.  QSH requires  
that descriptor 0 is allocated for standard input, descriptor 1 is allocated
for standard output, and descriptor 2 is allocated for standard error.      
Recovery  . . . :   Allocate the required descriptors and start QSH again.  


Cause

The user profile starting the Qshell Interpreter session does not have enough authority to the path /dev/null.


Resolution

Ensure the following authorities for *PUBLIC are set for the /dev/null path to resolve the issue.

/
*PUBLIC - *RWX

/dev
*PUBLIC - *RX

/null
*PUBLIC - *RW

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

627902556

Document Information

Modified date:
18 December 2019

UID

nas8N1011083