ARSXML Export Application group along with Applications

Previous topic - Next topic

galina raychuk

Need to export an application group with applications attached to App group.
Looking for some examples. Thank you

I have this to export application group:
#This function will export all existing appgroups from ags.list, update appgroup name to $grpname-ANEX and Account Number to length of 9
function exportappgroupARSXML {
PWD=$(pwd)
appgrps=`cat ${WDIR}/ags.list`
for grpname in ${appgrps}
  do
cp ${WDIR}/xmlheader ${XMLFILE}
echo $grpname
echo "   <applicationGroup name=\"${grpname}\">" >>${XMLFILE}
echo "  </applicationGroup>" >>$XMLFILE
echo "  </onDemand>" >>$XMLFILE
${ARSXML} export -h ${HOST} -u ${ADM} -p ${PW} -i ${XMLFILE} -r pl -v >${tempout}

Mehmet S Yersel

You need to add the -r a option for exporting applications contained within the application group. This part should be:

${ARSXML} export -h ${HOST} -u ${ADM} -p ${PW} -i ${XMLFILE} -r apl -v >${tempout}
#zOS #Multiplatforms
#DB2 #OAM
#AFP #RiCOH AFP2PDF #SnowBound
#Finance #Telecom #Airlines
#ICN #IHS #WAS ND #Cert and Key Management
#Migrations #Data Modeling #RACF-2-CMOD Synch
#FileTek AMMO #ABI #RMDS #RADAR

galina raychuk

Thanks a lot. I did have -r but needed a (for application).