A fix is available
APAR status
Closed as program error.
Error description
After applying PTF UM33873 ( APAR VM65179 ) and following the instructions in Appendix F of the z/VM 6.2.0 Systems Management Application Programming (SC24-6234-04) manual, the SMSTATUS command fails with: . FPLDSR146E File "DMSLST00 FILE *" does not exist FPLSCA003I ... Issued from stage 1 of pipeline 1 FPLSCA001I ... Running "< DMSLST002E File" Execute rc:8 rx:RS FILE SAVE ERROR Error Data is:COMMAND IN ERR=PIPE < DMSLST002E File,rc:146 Ready(00008); T=0.01/0.01 13:57:29 . The failure is due to the SMSTATUS EXEC trying to read file DMSSISVR NAMES only from the SFS directory VMSYS:VSMWORK1.DATA, but DMSSISVR NAMES does not exist there. By default, the DMSSISVR NAMES file is located on the MAINT 193 disk.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of the z/VM System Management * * Application Programming Interface (SMAPI) * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: APPLY PTF * **************************************************************** This APAR, VM65271, addresses several problems with the SMSTATUS EXEC: 1. The SMSTATUS EXEC fails with messages FPLDSR146E File "DMSLST00 FILE *" does not exist FPLSCA003I ... Issued from stage 1 of pipeline 1 FPLSCA001I ... Running "< DMSLST002E File" Execute rc:8 rx:RS FILE SAVE ERROR Error Data is:COMMAND IN ERR=PIPE < DMSLST002E File,rc:146 when the DMSSISVR NAMES resides on the MAINT 193 disk, which is the file's default location. 2. The SMAPI documentation states that the SMSTATUS EXEC will retain the n most recent output files from invocations of SMSTATUS, where n is determined by the Server_StatusLog_Max attribute in DMSSICNF COPY. SMSTATUS does save n output files, but it does not save the most recent n output files. 3. The SMSTATUS output log file does not indicate the status (active or not active) of the SMAPI worker and request servers before appending the console logs of the servers. 4. SMSTATUS EXEC invokes the CP FOR command for each SMAPI worker and request server to obtain the console logs of each server. The SMSTATUS code does not handle a RC70 (not authorized to act FOR userid) returned from the FOR command.
Problem conclusion
APAR VM65179 is in error. SMSTATUS $EXEC has been updated as follows: 1. SMSTATUS $EXEC has been updated to look for the DMSSISVR NAMES file and the DMSSICNF COPY file using the default CMS access order of the SMAPI servers: the data directory (VMSYS:VSMWORK1.DATA) the source directory (VMSYS:VSMWORK1.) the 191 disk of the source directory's userid (VSMWORK1) the MAINT 193 disk 2. SMSTATUS $EXEC has been updated. The sort method for determining the latest SMSTATUS output log file(s) has been corrected resulting in the removal of the oldest output log file(s). 3. SMSTATUS $EXEC has been updated to append the status of the SMAPI workder and request servers before appending the console logs of the servers. 4. SMSTATUS $EXEC has been updated to handle a return code 70 from the CP FOR command. The code appends the record Not authorized to get log of serverid to the SMSTATUS output log file.
Temporary fix
FOR RELEASE ES-CMS-620-BASE : PREREQ: VM65179 CO-REQ: NONE IF-REQ: NONE
Comments
APAR Information
APAR number
VM65271
Reported component name
VM CMS
Reported component ID
568411201
Reported release
620
Status
CLOSED PER
PE
YesPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-01-10
Closed date
2013-03-27
Last modified date
2013-12-30
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UM33972
Modules/Macros
SMSTATUS
Fix information
Fixed component name
VM CMS
Fixed component ID
568411201
Applicable component levels
R620 PSY UM33972
UP13/04/11 P 1302
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG27M","label":"APARs - z\/VM environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Edition":"","Line of Business":{"code":"LOB16","label":"Mainframe HW"}}]
Document Information
Modified date:
30 December 2013