ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

ARCHPROC Failing due to logname parameter

book

Article ID: 145717

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

I am trying to get the archive process up and running on an internal system (CA66), but have a problem with the logname parameter that is passed to ARCHNTRK - it says it has a maximum length of 16. With debug switched on I get the following errors - what do I need to set logname to?

IEF695I START ARCHPROC WITH JOBNAME ARCHPROC IS ASSIGNED TO USER ACFSTCID, GROUP OMVSGRP                 
$HASP373 ARCHPROC STARTED                                                                                
ACF9CCCD USERID ACFSTCID IS ASSIGNED TO THIS JOB - ARCHPROC                                              
IEF403I ARCHPROC - STARTED - TIME=11.49.51                                                               
+OPS0996I  ARCHIVE START(AUTO) TRACK(200 100) DSNAME(UKDEMO.OPSMVS.OPSLOG.ARCH)                          
         GDGMODEL(UKDEMO.OPSMVS.OPSLOG.ARCHPTRN) VOLUM                                                   
+OPS0996I VOLUMES(PRD66E) UNIT(3390)  LOGNAME(UKDEMO.OPSR135.USER.CA66.OPSLOG) GDGNUM(+1) SUBSYS(OPSS)   
         UPDATE(YES) DEBUG(YES)                                                                          
+OPS1940E Syntax error in keyword: LOGNAME                                                               
+OPS1956E --- Maximum length of Log name to archive is 16                                                
OPS8310S Archive request invalid - request skipped                                                       
+OPS8330I OPSLOG archive creation request processing completed                                           
OPS8318S No valid archive control statements were found - no archives were taken                         
+OPS8320O OPSLOG (UKDEMO.OPSR135.U) archive creation completed, MAXRC=0                                  
+OPS0996I removing invalid node GLOBAL0.ARCH_TRACK.ENTRY.0209                                            
+OPS0996I                                                                                                
IEF404I ARCHPROC - ENDED - TIME=11.49.51                                                                 
$HASP395 ARCHPROC ENDED - RC=0012                                      


Environment

Release : 13.5

Component : OPS/MVS

Resolution

Ensure that the ARCHPROC is referring to the LOGNAME value specified in column 1 of the OPSLOG DEFINITION Screen (=4.13) rather than the Dataset name.