Just saw that ARSZOSHL is no longer available with 8.5. When we converted to 8.5 we retrieved documents using ARSZOSHL (see below). We tried to change it to use oshell but it is not working. We don't seem to get a whole lot of information as to what the issue maybe. Any help would be appreciated.
OLD JCL
=======================================
//ARSEXPRT EXEC PGM=IKJEFT01,REGION=0M,COND=(0,NE)
//*YSEXEC DD DISP=SHR,DSN=ONDEMAND.TEST.SARSINST
//SYSEXEC DD DISP=SHR,DSN=ONDEMAND.PROD.SARSINST
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
ARSZOSHL /usr/lpp/ars/V8R5M0/bin/arsdoc get -
-h cpua.tjx.com:1445 -
-u ARSOND -p ARSOND12 -
-v -G "KS01" -
-o /u/tbe/KS010514_LIST -
-X 5056-6-0-800605FAA-00000-00000
/* -i "where rdate = 16418 and id = '0514'"
//STDENV DD *
_BPX_SHAREAS=YES
_BPX_BATCH_SPAWN=YES
/*
//OSHOUT1 DD SYSOUT=*,DCB=(RECFM=F,LRECL=255)
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
NEW JCL
==============================================
//ARSEXPRT EXEC PGM=IKJEFT01,REGION=0M
//*
//SYSEXEC DD DISP=SHR,DSN=SYS1.SBPXEXEC
//*
//SYSTSPRT DD SYSOUT=*
//*
//SYSTSIN DD *
oshell /usr/lpp/ars/V8R5M0/bin/arsdoc get -
-h cpua.tjx.com:1445 -
-u ARSOND -p ARSOND12 -
-v -G "NS01" -
-o /u/tbe/NS010417_LIST -c -
-X 5413-10-0-486662GAA-00000-00000
/*
//STDENV DD *
_BPX_SHAREAS=YES
_BPX_BATCH_SPAWN=YES
/*
//OSHOUT1 DD SYSOUT=*,DCB=(RECFM=F,LRECL=255)
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
=============================================================
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
READY
oshell /usr/lpp/ars/V8R5M0/bin/arsdoc get -h cpua.tjx.com:
12 -v -G "NS01" -o /u/tbe/NS010417_LIST -c
OSHELL RC = 1024
OSHELL Exit Status = 4
TERMINAL NOT ALLOCATED, FILE IN USE
READY
END
10/25/16 09:05:12 : Starting arsdoc. Version: 8.5.0.8
10/25/16 09:05:12 : /usr/lpp/ars/V8R5M0/bin/arsdoc get -h cpua.tjx.com:1445 -u ARSOND -v -G NS01 -o /u/tbe/NS010417_LIST -c -X 5413-10-0-486662GAA-00000-00000
10/25/16 09:05:12 : Attempting login for userid 'ARSOND' on server 'cpua.tjx.com
10/25/16 09:05:12 : Login unsuccessful
10/25/16 09:05:12 : Connection cannot be established for the cpua.tjx.com server
10/25/16 09:05:12 : arsdoc completed.
"10/25/16 09:05:12 : Connection cannot be established for the cpua.tjx.com server" is likely the key to the issue.
Check the .profile for the userid that's running the job's and be sure it's has the correct paths, steplibs and DSNAOINI.
tbe - let's also start with an oshell job that is much simpler.
All this JCL does is list out the parameters for ARSSOCKD:
Quote
//TMP1 EXEC PGM=IKJEFT01,
// DYNAMNBR=200
//SYSPROC DD DSN=SYS1.SBPXEXEC,DISP=SHR
//*
//SYSTSPRT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//*
//SYSTSIN DD *
oshell /usr/lpp/ars/V9R5M0/bin/arssockd -v -I instance -q
//*
Ed
Sorry for the delay in posting back. We discovered that the issue was related to IP. There was
an issue under OMVS as to what resolver.conf file was being used.
Thanks for the feedback.