arsmaint inside a proc- parm card help

Previous topic - Next topic

geoffwilde

So I created a proc, and I'm using arsparm to induce the parms, rather than inline. I can't get it to take any parms; it just gives me back the arsmaint syntax and parms help screen.

Anyone successfully done this?  What am I doing wrong?  jcl cut from the joblog

5 XXSTEP1    EXEC PGM=ARSMAINT,REGION=0M                                             
6 XXSYSPRINT DD SYSOUT=*                                                             
7 XXSTEPLIB  DD DISP=SHR,DSN=D800.&ENV..SDSNLOD2                                     
  XX*STEPLIB  DD DISP=SHR,DSN=D800.TECH.SDSNLOD2                                     
  IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=D800.DEVL.SDSNLOD2                         
8 XXDSNAOINI DD PATH='/usr/lpp/ars/config/cli.ini'                                   
9 XXSYSOUT   DD SYSOUT=*                                                             
0 XXSTDERR   DD SYSOUT=*                                                             
1 XXSTDOUT   DD SYSOUT=*                                                             
2 XXCEEDUMP  DD SYSOUT=*                                                             
3 XXARSBIN   DD PATH='/usr/lpp/ars/bin'                                               
4 XXARSPARM  DD DISP=SHR,DSN=&PRMLIB.(&PRM)                                           
  IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=GSWILDE.PARMLIB(ARSMAINT)           

                                                                 
EDIT       GSWILDE.PARMLIB(ARSMAINT) - 01.06                     
Command ===>                                                     
****** ******************************************************* Top
000001 /arsmaint -deir -I ARCHIVE -g ERMTEST1 -g B6D0210L         



Justin Derrick

I don't think you can pass more than one AG at a time.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Ed_Arnold

Looking at the 9.5 doc, it says that ARSPARM is only valid for ARSEXOAM and ARSEXPIR, not for ARSMAINT.

Ed
#zOS #ODF

geoffwilde

well, that kinda helps, but how can I run multiple AGs then?

Alessandro Perucchi

loop?
parallel jobs that each one run on an application group?
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

geoffwilde

maybe a better question to ask is how are people running arsmaint for multiple application groups?