AJSサンプルジョブネット

  • 物理ホスト

(1)テスト用シェル作成

rm -rf /root/samplejobnet
mkdir /root/samplejobnet

--------------------------
vim /root/samplejobnet/jobA10101.sh

#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /root/samplejobnet/job.log
exit 0
--------------------------

vim /root/samplejobnet/jobA10701.sh

#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /root/samplejobnet/job.log
RET=`awk 'BEGIN{ srand('"$RANDOM"'); print int(rand() * 10) }'`
exit $RET
--------------------------

vim /root/samplejobnet/jobB90101.sh
#!/bin/bash

touch /root/samplejobnet/jobA10201.txt
touch /root/samplejobnet/jobA20201.txt
touch /root/samplejobnet/jobA30201.txt

sleep 180

rm -rf /root/samplejobnet/jobA10201.txt
rm -rf /root/samplejobnet/jobA20201.txt
rm -rf /root/samplejobnet/jobA30201.txt

exit 0

--------------------------

vim /root/samplejobnet/jobB90201.sh
#!/bin/bash

HANTEI=`awk 'BEGIN{ srand('"$RANDOM"'); print int(rand() * 2) }'`

if [ "$HANTEI" = "0" ]; then

echo `date` "ERROR" >> /root/samplejobnet/jobA10301.log
echo `date` "ERROR" >> /root/samplejobnet/jobA20301.log
echo `date` "ERROR" >> /root/samplejobnet/jobA30301.log
else
echo `date` "SUCCESS" >> /root/samplejobnet/jobA10301.log
echo `date` "SUCCESS" >> /root/samplejobnet/jobA20301.log
echo `date` "SUCCESS" >> /root/samplejobnet/jobA30301.log

fi

exit 0

--------------------------
vim /root/samplejobnet/jobA11101.sh
#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /root/samplejobnet/job.log
echo "FILENAME=jobA10301.log"
exit 0

--------------------------


vim /root/samplejobnet/jobA11201.sh
#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /root/samplejobnet/job.log

sleep 999999999

exit 0

--------------------------
cd /root/samplejobnet

cp jobA10101.sh jobA1010201.sh
cp jobA10101.sh jobA1010202.sh
cp jobA10101.sh jobA1010203.sh
cp jobA10101.sh jobA10103.sh

cp jobA10101.sh jobA10202.sh
cp jobA10101.sh jobA10302.sh

cp jobA10101.sh jobA10501.sh
cp jobA10101.sh jobA10504.sh
cp jobA10101.sh jobA10605.sh

cp jobA10101.sh jobA10703.sh
cp jobA10101.sh jobA10704.sh
cp jobA10101.sh jobA10802.sh

cp jobA10101.sh jobB10901.sh
cp jobA10101.sh jobB10902.sh
cp jobA10101.sh jobB11001.sh
cp jobA10101.sh jobB11002.sh

cp jobA10101.sh jobA10901.sh
cp jobA10101.sh jobA10902.sh

cp jobA10101.sh jobA11001.sh
cp jobA10101.sh jobA11003.sh
cp jobA10101.sh jobA11104.sh
cp jobA10101.sh jobA11202.sh
cp jobA10701.sh jobA10801.sh
cp jobA10701.sh jobA11301.sh


chmod 777 *.sh

cp jobA10101.sh jobA20101.sh
cp jobA1010201.sh jobA2010201.sh
cp jobA1010202.sh jobA2010202.sh
cp jobA1010203.sh jobA2010203.sh
cp jobA10103.sh jobA20103.sh
cp jobA10202.sh jobA20202.sh
cp jobA10302.sh jobA20302.sh
cp jobA10501.sh jobA20501.sh
cp jobA10504.sh jobA20504.sh
cp jobA10605.sh jobA20605.sh
cp jobA10701.sh jobA20701.sh
cp jobA10703.sh jobA20703.sh
cp jobA10704.sh jobA20704.sh
cp jobA10801.sh jobA20801.sh
cp jobA10802.sh jobA20802.sh
cp jobA10901.sh jobA20901.sh
cp jobA10902.sh jobA20902.sh
cp jobA11001.sh jobA21001.sh
cp jobA11003.sh jobA21003.sh
cp jobA11101.sh jobA21101.sh
cp jobA11104.sh jobA21104.sh
cp jobA11201.sh jobA21201.sh
cp jobA11202.sh jobA21202.sh
cp jobA11301.sh jobA21301.sh
cp jobB10901.sh jobB20901.sh
cp jobB10902.sh jobB20902.sh
cp jobB11001.sh jobB21001.sh
cp jobB11002.sh jobB21002.sh

cp jobA10101.sh jobA30101.sh
cp jobA1010201.sh jobA3010201.sh
cp jobA1010202.sh jobA3010202.sh
cp jobA1010203.sh jobA3010203.sh
cp jobA10103.sh jobA30103.sh
cp jobA10202.sh jobA30202.sh
cp jobA10302.sh jobA30302.sh
cp jobA10501.sh jobA30501.sh
cp jobA10504.sh jobA30504.sh
cp jobA10605.sh jobA30605.sh
cp jobA10701.sh jobA30701.sh
cp jobA10703.sh jobA30703.sh
cp jobA10704.sh jobA30704.sh
cp jobA10801.sh jobA30801.sh
cp jobA10802.sh jobA30802.sh
cp jobA10901.sh jobA30901.sh
cp jobA10902.sh jobA30902.sh
cp jobA11001.sh jobA31001.sh
cp jobA11003.sh jobA31003.sh
cp jobA11101.sh jobA31101.sh
cp jobA11104.sh jobA31104.sh
cp jobA11201.sh jobA31201.sh
cp jobA11202.sh jobA31202.sh
cp jobA11301.sh jobA31301.sh
cp jobB10901.sh jobB30901.sh
cp jobB10902.sh jobB30902.sh
cp jobB11001.sh jobB31001.sh
cp jobB11002.sh jobB31002.sh


(2)テスト用バッチ作成

rmdir /S /Q C:\samplejobnet
mkdir C:\samplejobnet

notepad C:\samplejobnet\jobA10103.bat

@echo off
setlocal

for /f "usebackq" %%A in (`whoami`) do set ID=%%A
echo %DATE% %TIME% %ID% %~n0%~x0 >> C:\samplejobnet\job.log
exit /b 0

--------------------------
notepad C:\samplejobnet\jobB90301.bat

@echo off
setlocal

eventcreate /ID 123 /L system /SO Cmd /T Error /D "test"

exit /b 0

--------------------------

cd C:\samplejobnet

copy jobA10103.bat jobA10402.bat

copy jobA10402.bat jobA20402.bat
copy jobA10402.bat jobA30402.bat
copy jobA10103.bat jobA20103.bat
copy jobA10103.bat jobA30103.bat

 

(3)ジョブネット作成

 

vim /root/unitbackup.txt

unit=jg11,,jp1admin,;
{
ty=g;
cm="jg11";
el=jobnetA101,n,+0+0;
el=jobnetA102,n,+0+0;
el=jobnetA103,n,+0+0;
el=jobnetA104,n,+0+0;
el=jobnetA105,n,+0+0;
el=jobnetA106,n,+0+0;
el=jobnetA107,n,+0+0;
el=jobnetA108,n,+0+0;
el=jobnetA109,n,+0+0;
el=jobnetA110,n,+0+0;
el=jobnetA111,n,+0+0;
el=jobnetA112,n,+0+0;
el=jobnetA113,n,+0+0;
el=jobnetA201,n,+0+0;
el=jobnetA202,n,+0+0;
el=jobnetA203,n,+0+0;
el=jobnetA204,n,+0+0;
el=jobnetA205,n,+0+0;
el=jobnetA206,n,+0+0;
el=jobnetA207,n,+0+0;
el=jobnetA208,n,+0+0;
el=jobnetA209,n,+0+0;
el=jobnetA210,n,+0+0;
el=jobnetA211,n,+0+0;
el=jobnetA212,n,+0+0;
el=jobnetA213,n,+0+0;
el=jobnetA301,n,+0+0;
el=jobnetA302,n,+0+0;
el=jobnetA303,n,+0+0;
el=jobnetA304,n,+0+0;
el=jobnetA305,n,+0+0;
el=jobnetA306,n,+0+0;
el=jobnetA307,n,+0+0;
el=jobnetA308,n,+0+0;
el=jobnetA309,n,+0+0;
el=jobnetA310,n,+0+0;
el=jobnetA311,n,+0+0;
el=jobnetA312,n,+0+0;
el=jobnetA313,n,+0+0;
op=su;
op=mo;
op=tu;
op=we;
op=th;
op=fr;
op=sa;
unit=jobnetA101,,jp1admin,;
{
ty=n;
cm="ネストジョブネット";
sz=10x8;
el=jobA10101,j,+240+144;
el=jobA10102,n,+400+144;
el=jobA10103,pj,+560+144;
ar=(f=jobA10101,t=jobA10102,seq);
ar=(f=jobA10102,t=jobA10103,seq);
sd=1,2019/11/25;
st=1,21:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10101,,jp1admin,;
{
ty=j;
cm="jobA10101";
sc="/root/samplejobnet/jobA10101.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA10102,,jp1admin,;
{
ty=n;
cm="jobA10102";
sz=10x8;
el=jobA1010201,j,+240+144;
el=jobA1010202,j,+560+144;
el=jobA1010203,j,+880+144;
ar=(f=jobA1010201,t=jobA1010202,seq);
ar=(f=jobA1010202,t=jobA1010203,seq);
sd=0,ud;
ex="mmm182";
unit=jobA1010201,,jp1admin,;
{
ty=j;
cm="jobA1010201";
sc="/root/samplejobnet/jobA1010201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA1010202,,jp1admin,;
{
ty=j;
cm="jobA1010202";
sc="/root/samplejobnet/jobA1010202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA1010203,,jp1admin,;
{
ty=j;
cm="jobA1010203";
sc="/root/samplejobnet/jobA1010203.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobA10103,,jp1admin,;
{
ty=pj;
cm="jobA10103";
sc="C:\samplejobnet\jobA10103.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA102,,jp1admin,;
{
ty=n;
cm="ファイル監視";
sz=10x8;
el=jobA10201,flwj,+400+144;
el=jobA10202,j,+560+144;
ar=(f=jobA10201,t=jobA10202,seq);
sd=1,2019/11/25;
st=1,21:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10201,,jp1admin,;
{
ty=flwj;
cm="jobA10201";
flwf="/root/samplejobnet/jobA10201.txt";
flwi=30;
ex="mmm182";
}
unit=jobA10202,,jp1admin,;
{
ty=j;
cm="jobA10202";
sc="/root/samplejobnet/jobA10202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA103,,jp1admin,;
{
ty=n;
cm="ログファイル監視";
sz=10x8;
el=jobA10301,lfwj,+400+144;
el=jobA10302,j,+560+144;
ar=(f=jobA10301,t=jobA10302,seq);
sd=1,2019/11/25;
st=1,21:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10301,,jp1admin,;
{
ty=lfwj;
cm="jobA10301";
lffnm="/root/samplejobnet/jobA10301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm182";
}
unit=jobA10302,,jp1admin,;
{
ty=j;
cm="jobA10302";
sc="/root/samplejobnet/jobA10302.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA104,,jp1admin,;
{
ty=n;
cm="Windowsイベントログ監視";
sz=10x8;
el=jobA10401,ntwj,+400+240;
el=jobA10402,pj,+720+240;
ar=(f=jobA10401,t=jobA10402,seq);
sd=1,2019/11/25;
st=1,21:04;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm183";
unit=jobA10401,,jp1admin,;
{
ty=ntwj;
cm="jobA10401";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA10402,,jp1admin,;
{
ty=pj;
cm="jobA10402";
sc="C:\samplejobnet\jobA10402.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA105,,jp1admin,;
{
ty=n;
cm="JP1イベント送受信";
sz=10x8;
el=jobA10501,j,+240+144;
el=jobA10502,evsj,+400+144;
el=jobA10503,evwj,+720+144;
el=jobA10504,j,+880+144;
ar=(f=jobA10501,t=jobA10502,seq);
ar=(f=jobA10503,t=jobA10504,seq);
sd=1,2019/11/25;
st=1,21:05;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10501,,jp1admin,;
{
ty=j;
cm="jobA10501";
sc="/root/samplejobnet/jobA10501.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA10502,,jp1admin,;
{
ty=evsj;
cm="jobA10502";
pfm=u;
evsid=123;
evhst="mmm182";
evssv=em;
ex="mmm182";
}
unit=jobA10503,,jp1admin,;
{
ty=evwj;
cm="jobA10503";
evwid=123;
ex="mmm182";
}
unit=jobA10504,,jp1admin,;
{
ty=j;
cm="jobA10504";
sc="/root/samplejobnet/jobA10504.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA106,,jp1admin,;
{
ty=n;
cm="ORジョブ";
sz=10x8;
el=jobA10601,lfwj,+400+144;
el=jobA10602,ntwj,+400+240;
el=jobA10603,tmwj,+400+336;
el=jobA10604,orj,+720+240;
el=jobA10605,j,+1040+240;
ar=(f=jobA10601,t=jobA10604,seq);
ar=(f=jobA10602,t=jobA10604,seq);
ar=(f=jobA10603,t=jobA10604,seq);
ar=(f=jobA10604,t=jobA10605,seq);
sd=1,2019/11/25;
st=1,21:06;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10601,,jp1admin,;
{
ty=lfwj;
cm="jobA10601";
lffnm="/root/samplejobnet/jobA10301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm182";
}
unit=jobA10602,,jp1admin,;
{
ty=ntwj;
cm="jobA10602";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA10603,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
unit=jobA10604,,jp1admin,;
{
ty=orj;
cm="jobA10604";
}
unit=jobA10605,,jp1admin,;
{
ty=j;
cm="jobA10605";
sc="/root/samplejobnet/jobA10605.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA107,,jp1admin,;
{
ty=n;
cm="判定ジョブ";
sz=10x8;
el=jobA10701,j,+400+144;
el=jobA10702,jdj,+560+144;
el=jobA10703,j,+560+240;
el=jobA10704,j,+720+144;
ar=(f=jobA10701,t=jobA10702,seq);
ar=(f=jobA10702,t=jobA10703,con);
ar=(f=jobA10702,t=jobA10704,seq);
sd=1,2019/11/25;
st=1,21:07;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10701,,jp1admin,;
{
ty=j;
cm="jobA10701";
sc="/root/samplejobnet/jobA10701.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA10702,,jp1admin,;
{
ty=jdj;
cm="jobA10702";
ej=ge;
ejc=5;
}
unit=jobA10703,,jp1admin,;
{
ty=j;
cm="jobA10703";
sc="/root/samplejobnet/jobA10703.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA10704,,jp1admin,;
{
ty=j;
cm="jobA10704";
sc="/root/samplejobnet/jobA10704.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA108,,jp1admin,;
{
ty=n;
cm="リカバリー";
sz=10x8;
el=jobA10801,j,+560+144;
el=jobA10802,rj,+560+240;
ar=(f=jobA10801,t=jobA10802,seq);
sd=1,2019/11/25;
st=1,21:08;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10801,,jp1admin,;
{
ty=j;
cm="jobA10801";
sc="/root/samplejobnet/jobA10801.sh";
un="root";
tho=4;
wth=2;
ex="mmm182";
}
unit=jobA10802,,jp1admin,;
{
ty=rj;
cm="jobA10802";
sc="/root/samplejobnet/jobA10802.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA109,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件";
sz=10x8;
el=jobA10901,j,+560+144;
el=jobA10902,j,+880+144;
ar=(f=jobA10901,t=jobA10902,seq);
sd=1,2019/11/25;
st=1,21:09;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA10901,,jp1admin,;
{
ty=j;
cm="jobA10901";
eun=/jg12/jobnetB109;
sc="/root/samplejobnet/jobA10901.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA10902,,jp1admin,;
{
ty=j;
cm="jobA10902";
sc="/root/samplejobnet/jobA10902.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA110,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ";
sz=10x8;
el=jobA11001,j,+400+144;
el=jobA11002,nc,+560+144;
el=jobA11003,j,+720+144;
ar=(f=jobA11001,t=jobA11002,seq);
ar=(f=jobA11002,t=jobA11003,seq);
sd=1,2019/11/25;
st=1,21:10;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA11001,,jp1admin,;
{
ty=j;
cm="jobA11001";
sc="/root/samplejobnet/jobA11001.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA11002,,jp1admin,;
{
ty=nc;
cm="jobA11002";
ncr=/jg12/jobnetB110;
}
unit=jobA11003,,jp1admin,;
{
ty=j;
cm="jobA11003";
sc="/root/samplejobnet/jobA11003.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA111,,jp1admin,;
{
ty=n;
cm="引き継ぎ情報設定";
sz=10x8;
el=jobA11101,j,+400+144;
el=jobA11102,cpj,+560+144;
el=jobA11103,lfwj,+720+144;
el=jobA11104,j,+880+144;
ar=(f=jobA11101,t=jobA11102,seq);
ar=(f=jobA11102,t=jobA11103,seq);
ar=(f=jobA11103,t=jobA11104,seq);
sd=1,2019/11/25;
st=1,21:11;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA11101,,jp1admin,;
{
ty=j;
cm="jobA11101";
sc="/root/samplejobnet/jobA11101.sh";
so="/root/samplejobnet/jobA11101.out";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA11102,,jp1admin,;
{
ty=cpj;
cm="jobA11102";
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm=" -o FILENAME";
env="AJS2SO_RE_FILENAME=FILENAME=(.*)";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
tho=0;
}
unit=jobA11103,,jp1admin,;
{
ty=lfwj;
cm="jobA11103";
lffnm="/root/samplejobnet/?AJS2FILENAME?";
lftpd="ERROR";
lfrft=v:'\n';
lfsiv=10;
lfmxl=512;
}
unit=jobA11104,,jp1admin,;
{
ty=j;
cm="jobA11104";
sc="/root/samplejobnet/jobA11104.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA112,,jp1admin,;
{
ty=n;
cm="長時間実行";
sz=10x8;
el=jobA11201,j,+400+144;
el=jobA11202,j,+560+144;
ar=(f=jobA11201,t=jobA11202,seq);
sd=1,2019/11/25;
st=1,21:12;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA11201,,jp1admin,;
{
ty=j;
cm="jobA11201";
sc="/root/samplejobnet/jobA11201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA11202,,jp1admin,;
{
ty=j;
cm="jobA11202";
sc="/root/samplejobnet/jobA11202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA113,,jp1admin,;
{
ty=n;
cm="自動リトライ";
sz=10x8;
el=jobA11301,j,+560+144;
sd=1,2019/11/25;
st=1,21:13;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA11301,,jp1admin,;
{
ty=j;
cm="jobA11301";
sc="/root/samplejobnet/jobA11301.sh";
un="root";
tho=1;
wth=0;
abr=y;
rjs=2;
rje=100;
rec=12;
rei=1;
ex="mmm182";
}
}
unit=jobnetA201,,jp1admin,;
{
ty=n;
cm="ネストジョブネット";
sz=10x8;
el=jobA20101,j,+240+144;
el=jobA20102,n,+400+144;
el=jobA20103,pj,+560+144;
ar=(f=jobA20101,t=jobA20102,seq);
ar=(f=jobA20102,t=jobA20103,seq);
sd=1,2019/11/25;
st=1,22:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20101,,jp1admin,;
{
ty=j;
cm="jobA20101";
sc="/root/samplejobnet/jobA20101.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA20102,,jp1admin,;
{
ty=n;
cm="jobA20102";
sz=10x8;
el=jobA2010201,j,+240+144;
el=jobA2010202,j,+560+144;
el=jobA2010203,j,+880+144;
ar=(f=jobA2010201,t=jobA2010202,seq);
ar=(f=jobA2010202,t=jobA2010203,seq);
sd=0,ud;
ex="mmm182";
unit=jobA2010201,,jp1admin,;
{
ty=j;
cm="jobA2010201";
sc="/root/samplejobnet/jobA2010201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA2010202,,jp1admin,;
{
ty=j;
cm="jobA2010202";
sc="/root/samplejobnet/jobA2010202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA2010203,,jp1admin,;
{
ty=j;
cm="jobA2010203";
sc="/root/samplejobnet/jobA2010203.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobA20103,,jp1admin,;
{
ty=pj;
cm="jobA20103";
sc="C:\samplejobnet\jobA20103.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA202,,jp1admin,;
{
ty=n;
cm="ファイル監視";
sz=10x8;
el=jobA20201,flwj,+400+144;
el=jobA20202,j,+560+144;
ar=(f=jobA20201,t=jobA20202,seq);
sd=1,2019/11/25;
st=1,22:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20201,,jp1admin,;
{
ty=flwj;
cm="jobA20201";
flwf="/root/samplejobnet/jobA20201.txt";
flwi=30;
ex="mmm182";
}
unit=jobA20202,,jp1admin,;
{
ty=j;
cm="jobA20202";
sc="/root/samplejobnet/jobA20202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA203,,jp1admin,;
{
ty=n;
cm="ログファイル監視";
sz=10x8;
el=jobA20301,lfwj,+400+144;
el=jobA20302,j,+560+144;
ar=(f=jobA20301,t=jobA20302,seq);
sd=1,2019/11/25;
st=1,22:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20301,,jp1admin,;
{
ty=lfwj;
cm="jobA20301";
lffnm="/root/samplejobnet/jobA20301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm182";
}
unit=jobA20302,,jp1admin,;
{
ty=j;
cm="jobA20302";
sc="/root/samplejobnet/jobA20302.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA204,,jp1admin,;
{
ty=n;
cm="Windowsイベントログ監視";
sz=10x8;
el=jobA20401,ntwj,+400+240;
el=jobA20402,pj,+720+240;
ar=(f=jobA20401,t=jobA20402,seq);
sd=1,2019/11/25;
st=1,22:04;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm183";
unit=jobA20401,,jp1admin,;
{
ty=ntwj;
cm="jobA20401";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA20402,,jp1admin,;
{
ty=pj;
cm="jobA20402";
sc="C:\samplejobnet\jobA20402.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA205,,jp1admin,;
{
ty=n;
cm="JP1イベント送受信";
sz=10x8;
el=jobA20501,j,+240+144;
el=jobA20502,evsj,+400+144;
el=jobA20503,evwj,+720+144;
el=jobA20504,j,+880+144;
ar=(f=jobA20501,t=jobA20502,seq);
ar=(f=jobA20503,t=jobA20504,seq);
sd=1,2019/11/25;
st=1,22:05;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20501,,jp1admin,;
{
ty=j;
cm="jobA20501";
sc="/root/samplejobnet/jobA20501.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA20502,,jp1admin,;
{
ty=evsj;
cm="jobA20502";
pfm=u;
evsid=123;
evhst="mmm182";
evssv=em;
ex="mmm182";
}
unit=jobA20503,,jp1admin,;
{
ty=evwj;
cm="jobA20503";
evwid=123;
ex="mmm182";
}
unit=jobA20504,,jp1admin,;
{
ty=j;
cm="jobA20504";
sc="/root/samplejobnet/jobA20504.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA206,,jp1admin,;
{
ty=n;
cm="ORジョブ";
sz=10x8;
el=jobA20601,lfwj,+400+144;
el=jobA20602,ntwj,+400+240;
el=jobA20603,tmwj,+400+336;
el=jobA20604,orj,+720+240;
el=jobA20605,j,+1040+240;
ar=(f=jobA20601,t=jobA20604,seq);
ar=(f=jobA20602,t=jobA20604,seq);
ar=(f=jobA20603,t=jobA20604,seq);
ar=(f=jobA20604,t=jobA20605,seq);
sd=1,2019/11/25;
st=1,22:06;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20601,,jp1admin,;
{
ty=lfwj;
cm="jobA20601";
lffnm="/root/samplejobnet/jobA20301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm182";
}
unit=jobA20602,,jp1admin,;
{
ty=ntwj;
cm="jobA20602";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA20603,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
unit=jobA20604,,jp1admin,;
{
ty=orj;
cm="jobA20604";
}
unit=jobA20605,,jp1admin,;
{
ty=j;
cm="jobA20605";
sc="/root/samplejobnet/jobA20605.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA207,,jp1admin,;
{
ty=n;
cm="判定ジョブ";
sz=10x8;
el=jobA20701,j,+400+144;
el=jobA20702,jdj,+560+144;
el=jobA20703,j,+560+240;
el=jobA20704,j,+720+144;
ar=(f=jobA20701,t=jobA20702,seq);
ar=(f=jobA20702,t=jobA20703,con);
ar=(f=jobA20702,t=jobA20704,seq);
sd=1,2019/11/25;
st=1,22:07;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20701,,jp1admin,;
{
ty=j;
cm="jobA20701";
sc="/root/samplejobnet/jobA20701.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA20702,,jp1admin,;
{
ty=jdj;
cm="jobA20702";
ej=ge;
ejc=5;
}
unit=jobA20703,,jp1admin,;
{
ty=j;
cm="jobA20703";
sc="/root/samplejobnet/jobA20703.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA20704,,jp1admin,;
{
ty=j;
cm="jobA20704";
sc="/root/samplejobnet/jobA20704.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA208,,jp1admin,;
{
ty=n;
cm="リカバリー";
sz=10x8;
el=jobA20801,j,+560+144;
el=jobA20802,rj,+560+240;
ar=(f=jobA20801,t=jobA20802,seq);
sd=1,2019/11/25;
st=1,22:08;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20801,,jp1admin,;
{
ty=j;
cm="jobA20801";
sc="/root/samplejobnet/jobA20801.sh";
un="root";
tho=4;
wth=2;
ex="mmm182";
}
unit=jobA20802,,jp1admin,;
{
ty=rj;
cm="jobA20802";
sc="/root/samplejobnet/jobA20802.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA209,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件";
sz=10x8;
el=jobA20901,j,+560+144;
el=jobA20902,j,+880+144;
ar=(f=jobA20901,t=jobA20902,seq);
sd=1,2019/11/25;
st=1,22:09;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA20901,,jp1admin,;
{
ty=j;
cm="jobA20901";
eun=/jg12/jobnetB209;
sc="/root/samplejobnet/jobA20901.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA20902,,jp1admin,;
{
ty=j;
cm="jobA20902";
sc="/root/samplejobnet/jobA20902.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA210,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ";
sz=10x8;
el=jobA21001,j,+400+144;
el=jobA21002,nc,+560+144;
el=jobA21003,j,+720+144;
ar=(f=jobA21001,t=jobA21002,seq);
ar=(f=jobA21002,t=jobA21003,seq);
sd=1,2019/11/25;
st=1,22:10;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA21001,,jp1admin,;
{
ty=j;
cm="jobA21001";
sc="/root/samplejobnet/jobA21001.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA21002,,jp1admin,;
{
ty=nc;
cm="jobA21002";
ncr=/jg12/jobnetB210;
}
unit=jobA21003,,jp1admin,;
{
ty=j;
cm="jobA21003";
sc="/root/samplejobnet/jobA21003.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA211,,jp1admin,;
{
ty=n;
cm="引き継ぎ情報設定";
sz=10x8;
el=jobA21101,j,+400+144;
el=jobA21102,cpj,+560+144;
el=jobA21103,lfwj,+720+144;
el=jobA21104,j,+880+144;
ar=(f=jobA21101,t=jobA21102,seq);
ar=(f=jobA21102,t=jobA21103,seq);
ar=(f=jobA21103,t=jobA21104,seq);
sd=1,2019/11/25;
st=1,22:11;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA21101,,jp1admin,;
{
ty=j;
cm="jobA21101";
sc="/root/samplejobnet/jobA21101.sh";
so="/root/samplejobnet/jobA21101.out";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA21102,,jp1admin,;
{
ty=cpj;
cm="jobA21102";
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm=" -o FILENAME";
env="AJS2SO_RE_FILENAME=FILENAME=(.*)";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
tho=0;
}
unit=jobA21103,,jp1admin,;
{
ty=lfwj;
cm="jobA21103";
lffnm="/root/samplejobnet/?AJS2FILENAME?";
lftpd="ERROR";
lfrft=v:'\n';
lfsiv=10;
lfmxl=512;
}
unit=jobA21104,,jp1admin,;
{
ty=j;
cm="jobA21104";
sc="/root/samplejobnet/jobA21104.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA212,,jp1admin,;
{
ty=n;
cm="長時間実行";
sz=10x8;
el=jobA21201,j,+400+144;
el=jobA21202,j,+560+144;
ar=(f=jobA21201,t=jobA21202,seq);
sd=1,2019/11/25;
st=1,22:12;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA21201,,jp1admin,;
{
ty=j;
cm="jobA21201";
sc="/root/samplejobnet/jobA21201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA21202,,jp1admin,;
{
ty=j;
cm="jobA21202";
sc="/root/samplejobnet/jobA21202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA213,,jp1admin,;
{
ty=n;
cm="自動リトライ";
sz=10x8;
el=jobA21301,j,+560+144;
sd=1,2019/11/25;
st=1,22:13;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA21301,,jp1admin,;
{
ty=j;
cm="jobA21301";
sc="/root/samplejobnet/jobA21301.sh";
un="root";
tho=1;
wth=0;
abr=y;
rjs=2;
rje=100;
rec=12;
rei=1;
ex="mmm182";
}
}
unit=jobnetA301,,jp1admin,;
{
ty=n;
cm="ネストジョブネット";
sz=10x8;
el=jobA30101,j,+240+144;
el=jobA30102,n,+400+144;
el=jobA30103,pj,+560+144;
ar=(f=jobA30101,t=jobA30102,seq);
ar=(f=jobA30102,t=jobA30103,seq);
sd=1,2019/11/25;
st=1,23:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30101,,jp1admin,;
{
ty=j;
cm="jobA30101";
sc="/root/samplejobnet/jobA30101.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA30102,,jp1admin,;
{
ty=n;
cm="jobA30102";
sz=10x8;
el=jobA3010201,j,+240+144;
el=jobA3010202,j,+560+144;
el=jobA3010203,j,+880+144;
ar=(f=jobA3010201,t=jobA3010202,seq);
ar=(f=jobA3010202,t=jobA3010203,seq);
sd=0,ud;
ex="mmm182";
unit=jobA3010201,,jp1admin,;
{
ty=j;
cm="jobA3010201";
sc="/root/samplejobnet/jobA3010201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA3010202,,jp1admin,;
{
ty=j;
cm="jobA3010202";
sc="/root/samplejobnet/jobA3010202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA3010203,,jp1admin,;
{
ty=j;
cm="jobA3010203";
sc="/root/samplejobnet/jobA3010203.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobA30103,,jp1admin,;
{
ty=pj;
cm="jobA30103";
sc="C:\samplejobnet\jobA30103.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA302,,jp1admin,;
{
ty=n;
cm="ファイル監視";
sz=10x8;
el=jobA30201,flwj,+400+144;
el=jobA30202,j,+560+144;
ar=(f=jobA30201,t=jobA30202,seq);
sd=1,2019/11/25;
st=1,23:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30201,,jp1admin,;
{
ty=flwj;
cm="jobA30201";
flwf="/root/samplejobnet/jobA30201.txt";
flwi=30;
ex="mmm182";
}
unit=jobA30202,,jp1admin,;
{
ty=j;
cm="jobA30202";
sc="/root/samplejobnet/jobA30202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA303,,jp1admin,;
{
ty=n;
cm="ログファイル監視";
sz=10x8;
el=jobA30301,lfwj,+400+144;
el=jobA30302,j,+560+144;
ar=(f=jobA30301,t=jobA30302,seq);
sd=1,2019/11/25;
st=1,23:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30301,,jp1admin,;
{
ty=lfwj;
cm="jobA30301";
lffnm="/root/samplejobnet/jobA30301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm182";
}
unit=jobA30302,,jp1admin,;
{
ty=j;
cm="jobA30302";
sc="/root/samplejobnet/jobA30302.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA304,,jp1admin,;
{
ty=n;
cm="Windowsイベントログ監視";
sz=10x8;
el=jobA30401,ntwj,+400+240;
el=jobA30402,pj,+720+240;
ar=(f=jobA30401,t=jobA30402,seq);
sd=1,2019/11/25;
st=1,23:04;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm183";
unit=jobA30401,,jp1admin,;
{
ty=ntwj;
cm="jobA30401";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA30402,,jp1admin,;
{
ty=pj;
cm="jobA30402";
sc="C:\samplejobnet\jobA30402.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA305,,jp1admin,;
{
ty=n;
cm="JP1イベント送受信";
sz=10x8;
el=jobA30501,j,+240+144;
el=jobA30502,evsj,+400+144;
el=jobA30503,evwj,+720+144;
el=jobA30504,j,+880+144;
ar=(f=jobA30501,t=jobA30502,seq);
ar=(f=jobA30503,t=jobA30504,seq);
sd=1,2019/11/25;
st=1,23:05;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30501,,jp1admin,;
{
ty=j;
cm="jobA30501";
sc="/root/samplejobnet/jobA30501.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA30502,,jp1admin,;
{
ty=evsj;
cm="jobA30502";
pfm=u;
evsid=123;
evhst="mmm182";
evssv=em;
ex="mmm182";
}
unit=jobA30503,,jp1admin,;
{
ty=evwj;
cm="jobA30503";
evwid=123;
ex="mmm182";
}
unit=jobA30504,,jp1admin,;
{
ty=j;
cm="jobA30504";
sc="/root/samplejobnet/jobA30504.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA306,,jp1admin,;
{
ty=n;
cm="ORジョブ";
sz=10x8;
el=jobA30601,lfwj,+400+144;
el=jobA30602,ntwj,+400+240;
el=jobA30603,tmwj,+400+336;
el=jobA30604,orj,+720+240;
el=jobA30605,j,+1040+240;
ar=(f=jobA30601,t=jobA30604,seq);
ar=(f=jobA30602,t=jobA30604,seq);
ar=(f=jobA30603,t=jobA30604,seq);
ar=(f=jobA30604,t=jobA30605,seq);
sd=1,2019/11/25;
st=1,23:06;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30601,,jp1admin,;
{
ty=lfwj;
cm="jobA30601";
lffnm="/root/samplejobnet/jobA30301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm182";
}
unit=jobA30602,,jp1admin,;
{
ty=ntwj;
cm="jobA30602";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA30603,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
unit=jobA30604,,jp1admin,;
{
ty=orj;
cm="jobA30604";
}
unit=jobA30605,,jp1admin,;
{
ty=j;
cm="jobA30605";
sc="/root/samplejobnet/jobA30605.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA307,,jp1admin,;
{
ty=n;
cm="判定ジョブ";
sz=10x8;
el=jobA30701,j,+400+144;
el=jobA30702,jdj,+560+144;
el=jobA30703,j,+560+240;
el=jobA30704,j,+720+144;
ar=(f=jobA30701,t=jobA30702,seq);
ar=(f=jobA30702,t=jobA30703,con);
ar=(f=jobA30702,t=jobA30704,seq);
sd=1,2019/11/25;
st=1,23:07;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30701,,jp1admin,;
{
ty=j;
cm="jobA30701";
sc="/root/samplejobnet/jobA30701.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA30702,,jp1admin,;
{
ty=jdj;
cm="jobA30702";
ej=ge;
ejc=5;
}
unit=jobA30703,,jp1admin,;
{
ty=j;
cm="jobA30703";
sc="/root/samplejobnet/jobA30703.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA30704,,jp1admin,;
{
ty=j;
cm="jobA30704";
sc="/root/samplejobnet/jobA30704.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA308,,jp1admin,;
{
ty=n;
cm="リカバリー";
sz=10x8;
el=jobA30801,j,+560+144;
el=jobA30802,rj,+560+240;
ar=(f=jobA30801,t=jobA30802,seq);
sd=1,2019/11/25;
st=1,23:08;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30801,,jp1admin,;
{
ty=j;
cm="jobA30801";
sc="/root/samplejobnet/jobA30801.sh";
un="root";
tho=4;
wth=2;
ex="mmm182";
}
unit=jobA30802,,jp1admin,;
{
ty=rj;
cm="jobA30802";
sc="/root/samplejobnet/jobA30802.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA309,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件";
sz=10x8;
el=jobA30901,j,+560+144;
el=jobA30902,j,+880+144;
ar=(f=jobA30901,t=jobA30902,seq);
sd=1,2019/11/25;
st=1,23:09;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA30901,,jp1admin,;
{
ty=j;
cm="jobA30901";
eun=/jg12/jobnetB309;
sc="/root/samplejobnet/jobA30901.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA30902,,jp1admin,;
{
ty=j;
cm="jobA30902";
sc="/root/samplejobnet/jobA30902.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA310,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ";
sz=10x8;
el=jobA31001,j,+400+144;
el=jobA31002,nc,+560+144;
el=jobA31003,j,+720+144;
ar=(f=jobA31001,t=jobA31002,seq);
ar=(f=jobA31002,t=jobA31003,seq);
sd=1,2019/11/25;
st=1,23:10;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA31001,,jp1admin,;
{
ty=j;
cm="jobA31001";
sc="/root/samplejobnet/jobA31001.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA31002,,jp1admin,;
{
ty=nc;
cm="jobA31002";
ncr=/jg12/jobnetB310;
}
unit=jobA31003,,jp1admin,;
{
ty=j;
cm="jobA31003";
sc="/root/samplejobnet/jobA31003.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA311,,jp1admin,;
{
ty=n;
cm="引き継ぎ情報設定";
sz=10x8;
el=jobA31101,j,+400+144;
el=jobA31102,cpj,+560+144;
el=jobA31103,lfwj,+720+144;
el=jobA31104,j,+880+144;
ar=(f=jobA31101,t=jobA31102,seq);
ar=(f=jobA31102,t=jobA31103,seq);
ar=(f=jobA31103,t=jobA31104,seq);
sd=1,2019/11/25;
st=1,23:11;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA31101,,jp1admin,;
{
ty=j;
cm="jobA31101";
sc="/root/samplejobnet/jobA31101.sh";
so="/root/samplejobnet/jobA31101.out";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA31102,,jp1admin,;
{
ty=cpj;
cm="jobA31102";
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm=" -o FILENAME";
env="AJS2SO_RE_FILENAME=FILENAME=(.*)";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
tho=0;
}
unit=jobA31103,,jp1admin,;
{
ty=lfwj;
cm="jobA31103";
lffnm="/root/samplejobnet/?AJS2FILENAME?";
lftpd="ERROR";
lfrft=v:'\n';
lfsiv=10;
lfmxl=512;
}
unit=jobA31104,,jp1admin,;
{
ty=j;
cm="jobA31104";
sc="/root/samplejobnet/jobA31104.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA312,,jp1admin,;
{
ty=n;
cm="長時間実行";
sz=10x8;
el=jobA31201,j,+400+144;
el=jobA31202,j,+560+144;
ar=(f=jobA31201,t=jobA31202,seq);
sd=1,2019/11/25;
st=1,23:12;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA31201,,jp1admin,;
{
ty=j;
cm="jobA31201";
sc="/root/samplejobnet/jobA31201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobA31202,,jp1admin,;
{
ty=j;
cm="jobA31202";
sc="/root/samplejobnet/jobA31202.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetA313,,jp1admin,;
{
ty=n;
cm="自動リトライ";
sz=10x8;
el=jobA31301,j,+560+144;
sd=1,2019/11/25;
st=1,23:13;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobA31301,,jp1admin,;
{
ty=j;
cm="jobA31301";
sc="/root/samplejobnet/jobA31301.sh";
un="root";
tho=1;
wth=0;
abr=y;
rjs=2;
rje=100;
rec=12;
rei=1;
ex="mmm182";
}
}
}
unit=jg12,,jp1admin,;
{
ty=g;
cm="jg12";
el=jobnetB109,n,+0+0;
el=jobnetB110,n,+0+0;
el=jobnetB209,n,+0+0;
el=jobnetB210,n,+0+0;
el=jobnetB309,n,+0+0;
el=jobnetB310,n,+0+0;
el=jobnetB901,n,+0+0;
el=jobnetB902,n,+0+0;
el=jobnetB903,n,+0+0;
unit=jobnetB109,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件 参照先";
sz=10x8;
el=jobB10901,j,+240+144;
el=jobB10902,j,+400+144;
ar=(f=jobB10901,t=jobB10902,seq);
sd=1,2019/11/25;
st=1,21:39;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobB10901,,jp1admin,;
{
ty=j;
cm="jobB10901";
sc="/root/samplejobnet/jobB10901.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobB10902,,jp1admin,;
{
ty=j;
cm="jobB10902";
sc="/root/samplejobnet/jobB10902.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB110,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ 参照先";
sz=10x8;
el=jobB11001,j,+240+144;
el=jobB11002,j,+400+144;
ar=(f=jobB11001,t=jobB11002,seq);
sd=1,2019/11/25;
st=1,21:40;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
ncl=y;
ncn=/jg11/jobnetA110/jobA11002;
ncs=y;
unit=jobB11001,,jp1admin,;
{
ty=j;
cm="jobB11001";
sc="/root/samplejobnet/jobB11001.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobB11002,,jp1admin,;
{
ty=j;
cm="jobB11002";
sc="/root/samplejobnet/jobB11002.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB209,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件 参照先";
sz=10x8;
el=jobB20901,j,+240+144;
el=jobB20902,j,+400+144;
ar=(f=jobB20901,t=jobB20902,seq);
sd=1,2019/11/25;
st=1,22:39;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobB20901,,jp1admin,;
{
ty=j;
cm="jobB20901";
sc="/root/samplejobnet/jobB20901.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobB20902,,jp1admin,;
{
ty=j;
cm="jobB20902";
sc="/root/samplejobnet/jobB20902.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB210,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ 参照先";
sz=10x8;
el=jobB21001,j,+240+144;
el=jobB21002,j,+400+144;
ar=(f=jobB21001,t=jobB21002,seq);
sd=1,2019/11/25;
st=1,22:40;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
ncl=y;
ncn=/jg11/jobnetA210/jobA21002;
ncs=y;
unit=jobB21001,,jp1admin,;
{
ty=j;
cm="jobB21001";
sc="/root/samplejobnet/jobB21001.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobB21002,,jp1admin,;
{
ty=j;
cm="jobB21002";
sc="/root/samplejobnet/jobB21002.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB309,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件 参照先";
sz=10x8;
el=jobB30901,j,+240+144;
el=jobB30902,j,+400+144;
ar=(f=jobB30901,t=jobB30902,seq);
sd=1,2019/11/25;
st=1,23:39;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
unit=jobB30901,,jp1admin,;
{
ty=j;
cm="jobB30901";
sc="/root/samplejobnet/jobB30901.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobB30902,,jp1admin,;
{
ty=j;
cm="jobB30902";
sc="/root/samplejobnet/jobB30902.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB310,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ 参照先";
sz=10x8;
el=jobB31001,j,+240+144;
el=jobB31002,j,+400+144;
ar=(f=jobB31001,t=jobB31002,seq);
sd=1,2019/11/25;
st=1,23:40;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm182";
ncl=y;
ncn=/jg11/jobnetA310/jobA31002;
ncs=y;
unit=jobB31001,,jp1admin,;
{
ty=j;
cm="jobB31001";
sc="/root/samplejobnet/jobB31001.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
unit=jobB31002,,jp1admin,;
{
ty=j;
cm="jobB31002";
sc="/root/samplejobnet/jobB31002.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB901,,jp1admin,;
{
ty=n;
cm="ファイル作成";
sz=10x8;
el=.CONDITION,rc,+0+0;
el=jobB90101,j,+240+144;
sd=1,2019/11/25;
st=1,00:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
wt=1,1440;
wc=1,un;
rg=99;
ex="mmm182";
unit=.CONDITION,,jp1admin,;
{
ty=rc;
sz=10x8;
el=実行間隔制御,tmwj,+400+144;
cond=and;
unit=実行間隔制御,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
}
unit=jobB90101,,jp1admin,;
{
ty=j;
cm="jobB90101";
sc="/root/samplejobnet/jobB90101.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB902,,jp1admin,;
{
ty=n;
cm="ログファイル書き込み";
sz=10x8;
el=.CONDITION,rc,+0+0;
el=jobB90201,j,+240+144;
sd=1,2019/11/25;
st=1,00:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
wt=1,1440;
wc=1,un;
rg=99;
ex="mmm182";
unit=.CONDITION,,jp1admin,;
{
ty=rc;
sz=10x8;
el=実行間隔制御,tmwj,+400+144;
cond=and;
unit=実行間隔制御,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
}
unit=jobB90201,,jp1admin,;
{
ty=j;
cm="jobB90201";
sc="/root/samplejobnet/jobB90201.sh";
un="root";
tho=8;
wth=6;
ex="mmm182";
}
}
unit=jobnetB903,,jp1admin,;
{
ty=n;
cm="Windowsイベント発生";
sz=10x8;
el=.CONDITION,rc,+0+0;
el=jobB90301,pj,+560+144;
sd=1,2019/11/25;
st=1,00:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
wt=1,1440;
wc=1,un;
rg=99;
ex="mmm183";
unit=.CONDITION,,jp1admin,;
{
ty=rc;
sz=10x8;
el=実行間隔制御,tmwj,+400+144;
cond=and;
unit=実行間隔制御,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
}
unit=jobB90301,,jp1admin,;
{
ty=pj;
cm="jobB90301";
sc="C:\samplejobnet\jobB90301.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
}

export JP1_USERNAME=jp1admin

/opt/jp1ajs2/bin/ajskill -F AJSROOT1 "/*/*"
/opt/jp1ajs2/bin/ajsleave -F AJSROOT1 "/*/*"
/opt/jp1ajs2/bin/ajsdefine -F AJSROOT1 -f -d / /root/unitbackup.txt

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA101
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA102
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA103
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA104
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA105
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA106
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA107
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA108
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA109
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA110
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA111
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA112
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg11/jobnetA113

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA201
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA202
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA203
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA204
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA205
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA206
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA207
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA208
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA209
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA210
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA211
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA212
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg11/jobnetA213

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA301
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA302
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA303
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA304
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA305
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA306
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA307
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA308
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA309
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA310
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA311
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA312
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg11/jobnetA313

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg12/jobnetB109
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg12/jobnetB110

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg12/jobnetB209
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -g 30 /jg12/jobnetB210

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg12/jobnetB309
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -n /jg12/jobnetB310

/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg12/jobnetB901
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg12/jobnetB902
/opt/jp1ajs2/bin/ajsentry -F AJSROOT1 -s /jg12/jobnetB903

 

  • 論理ホスト

(1)テスト用シェル作成

rm -rf /mnt/sdc2/samplejobnet
mkdir /mnt/sdc2/samplejobnet

--------------------------
vim /mnt/sdc2/samplejobnet/jobA10101.sh

#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /mnt/sdc2/samplejobnet/job.log
exit 0
--------------------------

vim /mnt/sdc2/samplejobnet/jobA10701.sh

#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /mnt/sdc2/samplejobnet/job.log
RET=`awk 'BEGIN{ srand('"$RANDOM"'); print int(rand() * 10) }'`
exit $RET
--------------------------

vim /mnt/sdc2/samplejobnet/jobB90101.sh
#!/bin/bash

touch /mnt/sdc2/samplejobnet/jobA10201.txt
touch /mnt/sdc2/samplejobnet/jobA20201.txt
touch /mnt/sdc2/samplejobnet/jobA30201.txt

sleep 180

rm -rf /mnt/sdc2/samplejobnet/jobA10201.txt
rm -rf /mnt/sdc2/samplejobnet/jobA20201.txt
rm -rf /mnt/sdc2/samplejobnet/jobA30201.txt

exit 0

--------------------------

vim /mnt/sdc2/samplejobnet/jobB90201.sh
#!/bin/bash

HANTEI=`awk 'BEGIN{ srand('"$RANDOM"'); print int(rand() * 2) }'`

if [ "$HANTEI" = "0" ]; then

echo `date` "ERROR" >> /mnt/sdc2/samplejobnet/jobA10301.log
echo `date` "ERROR" >> /mnt/sdc2/samplejobnet/jobA20301.log
echo `date` "ERROR" >> /mnt/sdc2/samplejobnet/jobA30301.log
else
echo `date` "SUCCESS" >> /mnt/sdc2/samplejobnet/jobA10301.log
echo `date` "SUCCESS" >> /mnt/sdc2/samplejobnet/jobA20301.log
echo `date` "SUCCESS" >> /mnt/sdc2/samplejobnet/jobA30301.log

fi

exit 0

--------------------------
vim /mnt/sdc2/samplejobnet/jobA11101.sh
#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /mnt/sdc2/samplejobnet/job.log
echo "FILENAME=jobA10301.log"
exit 0

--------------------------


vim /mnt/sdc2/samplejobnet/jobA11201.sh
#!/bin/bash
OUT=`date`" "`id -un`" ""${0}"
echo $OUT >> /mnt/sdc2/samplejobnet/job.log

sleep 999999999

exit 0

--------------------------
cd /mnt/sdc2/samplejobnet

cp jobA10101.sh jobA1010201.sh
cp jobA10101.sh jobA1010202.sh
cp jobA10101.sh jobA1010203.sh
cp jobA10101.sh jobA10103.sh

cp jobA10101.sh jobA10202.sh
cp jobA10101.sh jobA10302.sh

cp jobA10101.sh jobA10501.sh
cp jobA10101.sh jobA10504.sh
cp jobA10101.sh jobA10605.sh

cp jobA10101.sh jobA10703.sh
cp jobA10101.sh jobA10704.sh
cp jobA10101.sh jobA10802.sh

cp jobA10101.sh jobB10901.sh
cp jobA10101.sh jobB10902.sh
cp jobA10101.sh jobB11001.sh
cp jobA10101.sh jobB11002.sh

cp jobA10101.sh jobA10901.sh
cp jobA10101.sh jobA10902.sh

cp jobA10101.sh jobA11001.sh
cp jobA10101.sh jobA11003.sh
cp jobA10101.sh jobA11104.sh
cp jobA10101.sh jobA11202.sh
cp jobA10701.sh jobA10801.sh
cp jobA10701.sh jobA11301.sh


chmod 777 *.sh

cp jobA10101.sh jobA20101.sh
cp jobA1010201.sh jobA2010201.sh
cp jobA1010202.sh jobA2010202.sh
cp jobA1010203.sh jobA2010203.sh
cp jobA10103.sh jobA20103.sh
cp jobA10202.sh jobA20202.sh
cp jobA10302.sh jobA20302.sh
cp jobA10501.sh jobA20501.sh
cp jobA10504.sh jobA20504.sh
cp jobA10605.sh jobA20605.sh
cp jobA10701.sh jobA20701.sh
cp jobA10703.sh jobA20703.sh
cp jobA10704.sh jobA20704.sh
cp jobA10801.sh jobA20801.sh
cp jobA10802.sh jobA20802.sh
cp jobA10901.sh jobA20901.sh
cp jobA10902.sh jobA20902.sh
cp jobA11001.sh jobA21001.sh
cp jobA11003.sh jobA21003.sh
cp jobA11101.sh jobA21101.sh
cp jobA11104.sh jobA21104.sh
cp jobA11201.sh jobA21201.sh
cp jobA11202.sh jobA21202.sh
cp jobA11301.sh jobA21301.sh
cp jobB10901.sh jobB20901.sh
cp jobB10902.sh jobB20902.sh
cp jobB11001.sh jobB21001.sh
cp jobB11002.sh jobB21002.sh

cp jobA10101.sh jobA30101.sh
cp jobA1010201.sh jobA3010201.sh
cp jobA1010202.sh jobA3010202.sh
cp jobA1010203.sh jobA3010203.sh
cp jobA10103.sh jobA30103.sh
cp jobA10202.sh jobA30202.sh
cp jobA10302.sh jobA30302.sh
cp jobA10501.sh jobA30501.sh
cp jobA10504.sh jobA30504.sh
cp jobA10605.sh jobA30605.sh
cp jobA10701.sh jobA30701.sh
cp jobA10703.sh jobA30703.sh
cp jobA10704.sh jobA30704.sh
cp jobA10801.sh jobA30801.sh
cp jobA10802.sh jobA30802.sh
cp jobA10901.sh jobA30901.sh
cp jobA10902.sh jobA30902.sh
cp jobA11001.sh jobA31001.sh
cp jobA11003.sh jobA31003.sh
cp jobA11101.sh jobA31101.sh
cp jobA11104.sh jobA31104.sh
cp jobA11201.sh jobA31201.sh
cp jobA11202.sh jobA31202.sh
cp jobA11301.sh jobA31301.sh
cp jobB10901.sh jobB30901.sh
cp jobB10902.sh jobB30902.sh
cp jobB11001.sh jobB31001.sh
cp jobB11002.sh jobB31002.sh


(2)テスト用バッチ作成

rmdir /S /Q C:\samplejobnet
mkdir C:\samplejobnet

notepad C:\samplejobnet\jobA10103.bat

@echo off
setlocal

for /f "usebackq" %%A in (`whoami`) do set ID=%%A
echo %DATE% %TIME% %ID% %~n0%~x0 >> C:\samplejobnet\job.log
exit /b 0

--------------------------
notepad C:\samplejobnet\jobB90301.bat

@echo off
setlocal

eventcreate /ID 123 /L system /SO Cmd /T Error /D "test"

exit /b 0

--------------------------

cd C:\samplejobnet
copy jobA10103.bat jobA10402.bat

copy jobA10402.bat jobA20402.bat
copy jobA10402.bat jobA30402.bat
copy jobA10103.bat jobA20103.bat
copy jobA10103.bat jobA30103.bat

 

(3)ジョブネット作成

 

vim /root/unitbackup.txt


unit=jg11,,jp1admin,;
{
ty=g;
cm="jg11";
el=jobnetA101,n,+0+0;
el=jobnetA102,n,+0+0;
el=jobnetA103,n,+0+0;
el=jobnetA104,n,+0+0;
el=jobnetA105,n,+0+0;
el=jobnetA106,n,+0+0;
el=jobnetA107,n,+0+0;
el=jobnetA108,n,+0+0;
el=jobnetA109,n,+0+0;
el=jobnetA110,n,+0+0;
el=jobnetA111,n,+0+0;
el=jobnetA112,n,+0+0;
el=jobnetA113,n,+0+0;
el=jobnetA201,n,+0+0;
el=jobnetA202,n,+0+0;
el=jobnetA203,n,+0+0;
el=jobnetA204,n,+0+0;
el=jobnetA205,n,+0+0;
el=jobnetA206,n,+0+0;
el=jobnetA207,n,+0+0;
el=jobnetA208,n,+0+0;
el=jobnetA209,n,+0+0;
el=jobnetA210,n,+0+0;
el=jobnetA211,n,+0+0;
el=jobnetA212,n,+0+0;
el=jobnetA213,n,+0+0;
el=jobnetA301,n,+0+0;
el=jobnetA302,n,+0+0;
el=jobnetA303,n,+0+0;
el=jobnetA304,n,+0+0;
el=jobnetA305,n,+0+0;
el=jobnetA306,n,+0+0;
el=jobnetA307,n,+0+0;
el=jobnetA308,n,+0+0;
el=jobnetA309,n,+0+0;
el=jobnetA310,n,+0+0;
el=jobnetA311,n,+0+0;
el=jobnetA312,n,+0+0;
el=jobnetA313,n,+0+0;
op=su;
op=mo;
op=tu;
op=we;
op=th;
op=fr;
op=sa;
unit=jobnetA101,,jp1admin,;
{
ty=n;
cm="ネストジョブネット";
sz=10x8;
el=jobA10101,j,+240+144;
el=jobA10102,n,+400+144;
el=jobA10103,pj,+560+144;
ar=(f=jobA10101,t=jobA10102,seq);
ar=(f=jobA10102,t=jobA10103,seq);
sd=1,2019/11/25;
st=1,21:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10101,,jp1admin,;
{
ty=j;
cm="jobA10101";
sc="/mnt/sdc2/samplejobnet/jobA10101.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA10102,,jp1admin,;
{
ty=n;
cm="jobA10102";
sz=10x8;
el=jobA1010201,j,+240+144;
el=jobA1010202,j,+560+144;
el=jobA1010203,j,+880+144;
ar=(f=jobA1010201,t=jobA1010202,seq);
ar=(f=jobA1010202,t=jobA1010203,seq);
sd=0,ud;
ex="mmm194";
unit=jobA1010201,,jp1admin,;
{
ty=j;
cm="jobA1010201";
sc="/mnt/sdc2/samplejobnet/jobA1010201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA1010202,,jp1admin,;
{
ty=j;
cm="jobA1010202";
sc="/mnt/sdc2/samplejobnet/jobA1010202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA1010203,,jp1admin,;
{
ty=j;
cm="jobA1010203";
sc="/mnt/sdc2/samplejobnet/jobA1010203.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobA10103,,jp1admin,;
{
ty=pj;
cm="jobA10103";
sc="C:\samplejobnet\jobA10103.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA102,,jp1admin,;
{
ty=n;
cm="ファイル監視";
sz=10x8;
el=jobA10201,flwj,+400+144;
el=jobA10202,j,+560+144;
ar=(f=jobA10201,t=jobA10202,seq);
sd=1,2019/11/25;
st=1,21:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10201,,jp1admin,;
{
ty=flwj;
cm="jobA10201";
flwf="/mnt/sdc2/samplejobnet/jobA10201.txt";
flwi=30;
ex="mmm194";
}
unit=jobA10202,,jp1admin,;
{
ty=j;
cm="jobA10202";
sc="/mnt/sdc2/samplejobnet/jobA10202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA103,,jp1admin,;
{
ty=n;
cm="ログファイル監視";
sz=10x8;
el=jobA10301,lfwj,+400+144;
el=jobA10302,j,+560+144;
ar=(f=jobA10301,t=jobA10302,seq);
sd=1,2019/11/25;
st=1,21:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10301,,jp1admin,;
{
ty=lfwj;
cm="jobA10301";
lffnm="/mnt/sdc2/samplejobnet/jobA10301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm194";
}
unit=jobA10302,,jp1admin,;
{
ty=j;
cm="jobA10302";
sc="/mnt/sdc2/samplejobnet/jobA10302.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA104,,jp1admin,;
{
ty=n;
cm="Windowsイベントログ監視";
sz=10x8;
el=jobA10401,ntwj,+400+240;
el=jobA10402,pj,+720+240;
ar=(f=jobA10401,t=jobA10402,seq);
sd=1,2019/11/25;
st=1,21:04;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm183";
unit=jobA10401,,jp1admin,;
{
ty=ntwj;
cm="jobA10401";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA10402,,jp1admin,;
{
ty=pj;
cm="jobA10402";
sc="C:\samplejobnet\jobA10402.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA105,,jp1admin,;
{
ty=n;
cm="JP1イベント送受信";
sz=10x8;
el=jobA10501,j,+240+144;
el=jobA10502,evsj,+400+144;
el=jobA10503,evwj,+720+144;
el=jobA10504,j,+880+144;
ar=(f=jobA10501,t=jobA10502,seq);
ar=(f=jobA10503,t=jobA10504,seq);
sd=1,2019/11/25;
st=1,21:05;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10501,,jp1admin,;
{
ty=j;
cm="jobA10501";
sc="/mnt/sdc2/samplejobnet/jobA10501.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA10502,,jp1admin,;
{
ty=evsj;
cm="jobA10502";
pfm=u;
evsid=123;
evhst="mmm194";
evssv=em;
ex="mmm194";
}
unit=jobA10503,,jp1admin,;
{
ty=evwj;
cm="jobA10503";
evwid=123;
ex="mmm194";
}
unit=jobA10504,,jp1admin,;
{
ty=j;
cm="jobA10504";
sc="/mnt/sdc2/samplejobnet/jobA10504.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA106,,jp1admin,;
{
ty=n;
cm="ORジョブ";
sz=10x8;
el=jobA10601,lfwj,+400+144;
el=jobA10602,ntwj,+400+240;
el=jobA10603,tmwj,+400+336;
el=jobA10604,orj,+720+240;
el=jobA10605,j,+1040+240;
ar=(f=jobA10601,t=jobA10604,seq);
ar=(f=jobA10602,t=jobA10604,seq);
ar=(f=jobA10603,t=jobA10604,seq);
ar=(f=jobA10604,t=jobA10605,seq);
sd=1,2019/11/25;
st=1,21:06;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10601,,jp1admin,;
{
ty=lfwj;
cm="jobA10601";
lffnm="/mnt/sdc2/samplejobnet/jobA10301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm194";
}
unit=jobA10602,,jp1admin,;
{
ty=ntwj;
cm="jobA10602";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA10603,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
unit=jobA10604,,jp1admin,;
{
ty=orj;
cm="jobA10604";
}
unit=jobA10605,,jp1admin,;
{
ty=j;
cm="jobA10605";
sc="/mnt/sdc2/samplejobnet/jobA10605.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA107,,jp1admin,;
{
ty=n;
cm="判定ジョブ";
sz=10x8;
el=jobA10701,j,+400+144;
el=jobA10702,jdj,+560+144;
el=jobA10703,j,+560+240;
el=jobA10704,j,+720+144;
ar=(f=jobA10701,t=jobA10702,seq);
ar=(f=jobA10702,t=jobA10703,con);
ar=(f=jobA10702,t=jobA10704,seq);
sd=1,2019/11/25;
st=1,21:07;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10701,,jp1admin,;
{
ty=j;
cm="jobA10701";
sc="/mnt/sdc2/samplejobnet/jobA10701.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA10702,,jp1admin,;
{
ty=jdj;
cm="jobA10702";
ej=ge;
ejc=5;
}
unit=jobA10703,,jp1admin,;
{
ty=j;
cm="jobA10703";
sc="/mnt/sdc2/samplejobnet/jobA10703.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA10704,,jp1admin,;
{
ty=j;
cm="jobA10704";
sc="/mnt/sdc2/samplejobnet/jobA10704.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA108,,jp1admin,;
{
ty=n;
cm="リカバリー";
sz=10x8;
el=jobA10801,j,+560+144;
el=jobA10802,rj,+560+240;
ar=(f=jobA10801,t=jobA10802,seq);
sd=1,2019/11/25;
st=1,21:08;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10801,,jp1admin,;
{
ty=j;
cm="jobA10801";
sc="/mnt/sdc2/samplejobnet/jobA10801.sh";
un="root";
tho=4;
wth=2;
ex="mmm194";
}
unit=jobA10802,,jp1admin,;
{
ty=rj;
cm="jobA10802";
sc="/mnt/sdc2/samplejobnet/jobA10802.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA109,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件";
sz=10x8;
el=jobA10901,j,+560+144;
el=jobA10902,j,+880+144;
ar=(f=jobA10901,t=jobA10902,seq);
sd=1,2019/11/25;
st=1,21:09;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA10901,,jp1admin,;
{
ty=j;
cm="jobA10901";
eun=/jg12/jobnetB109;
sc="/mnt/sdc2/samplejobnet/jobA10901.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA10902,,jp1admin,;
{
ty=j;
cm="jobA10902";
sc="/mnt/sdc2/samplejobnet/jobA10902.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA110,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ";
sz=10x8;
el=jobA11001,j,+400+144;
el=jobA11002,nc,+560+144;
el=jobA11003,j,+720+144;
ar=(f=jobA11001,t=jobA11002,seq);
ar=(f=jobA11002,t=jobA11003,seq);
sd=1,2019/11/25;
st=1,21:10;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA11001,,jp1admin,;
{
ty=j;
cm="jobA11001";
sc="/mnt/sdc2/samplejobnet/jobA11001.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA11002,,jp1admin,;
{
ty=nc;
cm="jobA11002";
ncr=/jg12/jobnetB110;
}
unit=jobA11003,,jp1admin,;
{
ty=j;
cm="jobA11003";
sc="/mnt/sdc2/samplejobnet/jobA11003.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA111,,jp1admin,;
{
ty=n;
cm="引き継ぎ情報設定";
sz=10x8;
el=jobA11101,j,+400+144;
el=jobA11102,cpj,+560+144;
el=jobA11103,lfwj,+720+144;
el=jobA11104,j,+880+144;
ar=(f=jobA11101,t=jobA11102,seq);
ar=(f=jobA11102,t=jobA11103,seq);
ar=(f=jobA11103,t=jobA11104,seq);
sd=1,2019/11/25;
st=1,21:11;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA11101,,jp1admin,;
{
ty=j;
cm="jobA11101";
sc="/mnt/sdc2/samplejobnet/jobA11101.sh";
so="/mnt/sdc2/samplejobnet/jobA11101.out";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA11102,,jp1admin,;
{
ty=cpj;
cm="jobA11102";
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm=" -o FILENAME";
env="AJS2SO_RE_FILENAME=FILENAME=(.*)";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
tho=0;
}
unit=jobA11103,,jp1admin,;
{
ty=lfwj;
cm="jobA11103";
lffnm="/mnt/sdc2/samplejobnet/?AJS2FILENAME?";
lftpd="ERROR";
lfrft=v:'\n';
lfsiv=10;
lfmxl=512;
}
unit=jobA11104,,jp1admin,;
{
ty=j;
cm="jobA11104";
sc="/mnt/sdc2/samplejobnet/jobA11104.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA112,,jp1admin,;
{
ty=n;
cm="長時間実行";
sz=10x8;
el=jobA11201,j,+400+144;
el=jobA11202,j,+560+144;
ar=(f=jobA11201,t=jobA11202,seq);
sd=1,2019/11/25;
st=1,21:12;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA11201,,jp1admin,;
{
ty=j;
cm="jobA11201";
sc="/mnt/sdc2/samplejobnet/jobA11201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA11202,,jp1admin,;
{
ty=j;
cm="jobA11202";
sc="/mnt/sdc2/samplejobnet/jobA11202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA113,,jp1admin,;
{
ty=n;
cm="自動リトライ";
sz=10x8;
el=jobA11301,j,+560+144;
sd=1,2019/11/25;
st=1,21:13;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA11301,,jp1admin,;
{
ty=j;
cm="jobA11301";
sc="/mnt/sdc2/samplejobnet/jobA11301.sh";
un="root";
tho=1;
wth=0;
abr=y;
rjs=2;
rje=100;
rec=12;
rei=1;
ex="mmm194";
}
}
unit=jobnetA201,,jp1admin,;
{
ty=n;
cm="ネストジョブネット";
sz=10x8;
el=jobA20101,j,+240+144;
el=jobA20102,n,+400+144;
el=jobA20103,pj,+560+144;
ar=(f=jobA20101,t=jobA20102,seq);
ar=(f=jobA20102,t=jobA20103,seq);
sd=1,2019/11/25;
st=1,22:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20101,,jp1admin,;
{
ty=j;
cm="jobA20101";
sc="/mnt/sdc2/samplejobnet/jobA20101.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA20102,,jp1admin,;
{
ty=n;
cm="jobA20102";
sz=10x8;
el=jobA2010201,j,+240+144;
el=jobA2010202,j,+560+144;
el=jobA2010203,j,+880+144;
ar=(f=jobA2010201,t=jobA2010202,seq);
ar=(f=jobA2010202,t=jobA2010203,seq);
sd=0,ud;
ex="mmm194";
unit=jobA2010201,,jp1admin,;
{
ty=j;
cm="jobA2010201";
sc="/mnt/sdc2/samplejobnet/jobA2010201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA2010202,,jp1admin,;
{
ty=j;
cm="jobA2010202";
sc="/mnt/sdc2/samplejobnet/jobA2010202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA2010203,,jp1admin,;
{
ty=j;
cm="jobA2010203";
sc="/mnt/sdc2/samplejobnet/jobA2010203.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobA20103,,jp1admin,;
{
ty=pj;
cm="jobA20103";
sc="C:\samplejobnet\jobA20103.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA202,,jp1admin,;
{
ty=n;
cm="ファイル監視";
sz=10x8;
el=jobA20201,flwj,+400+144;
el=jobA20202,j,+560+144;
ar=(f=jobA20201,t=jobA20202,seq);
sd=1,2019/11/25;
st=1,22:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20201,,jp1admin,;
{
ty=flwj;
cm="jobA20201";
flwf="/mnt/sdc2/samplejobnet/jobA20201.txt";
flwi=30;
ex="mmm194";
}
unit=jobA20202,,jp1admin,;
{
ty=j;
cm="jobA20202";
sc="/mnt/sdc2/samplejobnet/jobA20202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA203,,jp1admin,;
{
ty=n;
cm="ログファイル監視";
sz=10x8;
el=jobA20301,lfwj,+400+144;
el=jobA20302,j,+560+144;
ar=(f=jobA20301,t=jobA20302,seq);
sd=1,2019/11/25;
st=1,22:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20301,,jp1admin,;
{
ty=lfwj;
cm="jobA20301";
lffnm="/mnt/sdc2/samplejobnet/jobA20301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm194";
}
unit=jobA20302,,jp1admin,;
{
ty=j;
cm="jobA20302";
sc="/mnt/sdc2/samplejobnet/jobA20302.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA204,,jp1admin,;
{
ty=n;
cm="Windowsイベントログ監視";
sz=10x8;
el=jobA20401,ntwj,+400+240;
el=jobA20402,pj,+720+240;
ar=(f=jobA20401,t=jobA20402,seq);
sd=1,2019/11/25;
st=1,22:04;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm183";
unit=jobA20401,,jp1admin,;
{
ty=ntwj;
cm="jobA20401";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA20402,,jp1admin,;
{
ty=pj;
cm="jobA20402";
sc="C:\samplejobnet\jobA20402.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA205,,jp1admin,;
{
ty=n;
cm="JP1イベント送受信";
sz=10x8;
el=jobA20501,j,+240+144;
el=jobA20502,evsj,+400+144;
el=jobA20503,evwj,+720+144;
el=jobA20504,j,+880+144;
ar=(f=jobA20501,t=jobA20502,seq);
ar=(f=jobA20503,t=jobA20504,seq);
sd=1,2019/11/25;
st=1,22:05;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20501,,jp1admin,;
{
ty=j;
cm="jobA20501";
sc="/mnt/sdc2/samplejobnet/jobA20501.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA20502,,jp1admin,;
{
ty=evsj;
cm="jobA20502";
pfm=u;
evsid=123;
evhst="mmm194";
evssv=em;
ex="mmm194";
}
unit=jobA20503,,jp1admin,;
{
ty=evwj;
cm="jobA20503";
evwid=123;
ex="mmm194";
}
unit=jobA20504,,jp1admin,;
{
ty=j;
cm="jobA20504";
sc="/mnt/sdc2/samplejobnet/jobA20504.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA206,,jp1admin,;
{
ty=n;
cm="ORジョブ";
sz=10x8;
el=jobA20601,lfwj,+400+144;
el=jobA20602,ntwj,+400+240;
el=jobA20603,tmwj,+400+336;
el=jobA20604,orj,+720+240;
el=jobA20605,j,+1040+240;
ar=(f=jobA20601,t=jobA20604,seq);
ar=(f=jobA20602,t=jobA20604,seq);
ar=(f=jobA20603,t=jobA20604,seq);
ar=(f=jobA20604,t=jobA20605,seq);
sd=1,2019/11/25;
st=1,22:06;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20601,,jp1admin,;
{
ty=lfwj;
cm="jobA20601";
lffnm="/mnt/sdc2/samplejobnet/jobA20301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm194";
}
unit=jobA20602,,jp1admin,;
{
ty=ntwj;
cm="jobA20602";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA20603,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
unit=jobA20604,,jp1admin,;
{
ty=orj;
cm="jobA20604";
}
unit=jobA20605,,jp1admin,;
{
ty=j;
cm="jobA20605";
sc="/mnt/sdc2/samplejobnet/jobA20605.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA207,,jp1admin,;
{
ty=n;
cm="判定ジョブ";
sz=10x8;
el=jobA20701,j,+400+144;
el=jobA20702,jdj,+560+144;
el=jobA20703,j,+560+240;
el=jobA20704,j,+720+144;
ar=(f=jobA20701,t=jobA20702,seq);
ar=(f=jobA20702,t=jobA20703,con);
ar=(f=jobA20702,t=jobA20704,seq);
sd=1,2019/11/25;
st=1,22:07;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20701,,jp1admin,;
{
ty=j;
cm="jobA20701";
sc="/mnt/sdc2/samplejobnet/jobA20701.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA20702,,jp1admin,;
{
ty=jdj;
cm="jobA20702";
ej=ge;
ejc=5;
}
unit=jobA20703,,jp1admin,;
{
ty=j;
cm="jobA20703";
sc="/mnt/sdc2/samplejobnet/jobA20703.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA20704,,jp1admin,;
{
ty=j;
cm="jobA20704";
sc="/mnt/sdc2/samplejobnet/jobA20704.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA208,,jp1admin,;
{
ty=n;
cm="リカバリー";
sz=10x8;
el=jobA20801,j,+560+144;
el=jobA20802,rj,+560+240;
ar=(f=jobA20801,t=jobA20802,seq);
sd=1,2019/11/25;
st=1,22:08;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20801,,jp1admin,;
{
ty=j;
cm="jobA20801";
sc="/mnt/sdc2/samplejobnet/jobA20801.sh";
un="root";
tho=4;
wth=2;
ex="mmm194";
}
unit=jobA20802,,jp1admin,;
{
ty=rj;
cm="jobA20802";
sc="/mnt/sdc2/samplejobnet/jobA20802.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA209,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件";
sz=10x8;
el=jobA20901,j,+560+144;
el=jobA20902,j,+880+144;
ar=(f=jobA20901,t=jobA20902,seq);
sd=1,2019/11/25;
st=1,22:09;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA20901,,jp1admin,;
{
ty=j;
cm="jobA20901";
eun=/jg12/jobnetB209;
sc="/mnt/sdc2/samplejobnet/jobA20901.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA20902,,jp1admin,;
{
ty=j;
cm="jobA20902";
sc="/mnt/sdc2/samplejobnet/jobA20902.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA210,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ";
sz=10x8;
el=jobA21001,j,+400+144;
el=jobA21002,nc,+560+144;
el=jobA21003,j,+720+144;
ar=(f=jobA21001,t=jobA21002,seq);
ar=(f=jobA21002,t=jobA21003,seq);
sd=1,2019/11/25;
st=1,22:10;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA21001,,jp1admin,;
{
ty=j;
cm="jobA21001";
sc="/mnt/sdc2/samplejobnet/jobA21001.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA21002,,jp1admin,;
{
ty=nc;
cm="jobA21002";
ncr=/jg12/jobnetB210;
}
unit=jobA21003,,jp1admin,;
{
ty=j;
cm="jobA21003";
sc="/mnt/sdc2/samplejobnet/jobA21003.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA211,,jp1admin,;
{
ty=n;
cm="引き継ぎ情報設定";
sz=10x8;
el=jobA21101,j,+400+144;
el=jobA21102,cpj,+560+144;
el=jobA21103,lfwj,+720+144;
el=jobA21104,j,+880+144;
ar=(f=jobA21101,t=jobA21102,seq);
ar=(f=jobA21102,t=jobA21103,seq);
ar=(f=jobA21103,t=jobA21104,seq);
sd=1,2019/11/25;
st=1,22:11;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA21101,,jp1admin,;
{
ty=j;
cm="jobA21101";
sc="/mnt/sdc2/samplejobnet/jobA21101.sh";
so="/mnt/sdc2/samplejobnet/jobA21101.out";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA21102,,jp1admin,;
{
ty=cpj;
cm="jobA21102";
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm=" -o FILENAME";
env="AJS2SO_RE_FILENAME=FILENAME=(.*)";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
tho=0;
}
unit=jobA21103,,jp1admin,;
{
ty=lfwj;
cm="jobA21103";
lffnm="/mnt/sdc2/samplejobnet/?AJS2FILENAME?";
lftpd="ERROR";
lfrft=v:'\n';
lfsiv=10;
lfmxl=512;
}
unit=jobA21104,,jp1admin,;
{
ty=j;
cm="jobA21104";
sc="/mnt/sdc2/samplejobnet/jobA21104.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA212,,jp1admin,;
{
ty=n;
cm="長時間実行";
sz=10x8;
el=jobA21201,j,+400+144;
el=jobA21202,j,+560+144;
ar=(f=jobA21201,t=jobA21202,seq);
sd=1,2019/11/25;
st=1,22:12;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA21201,,jp1admin,;
{
ty=j;
cm="jobA21201";
sc="/mnt/sdc2/samplejobnet/jobA21201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA21202,,jp1admin,;
{
ty=j;
cm="jobA21202";
sc="/mnt/sdc2/samplejobnet/jobA21202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA213,,jp1admin,;
{
ty=n;
cm="自動リトライ";
sz=10x8;
el=jobA21301,j,+560+144;
sd=1,2019/11/25;
st=1,22:13;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA21301,,jp1admin,;
{
ty=j;
cm="jobA21301";
sc="/mnt/sdc2/samplejobnet/jobA21301.sh";
un="root";
tho=1;
wth=0;
abr=y;
rjs=2;
rje=100;
rec=12;
rei=1;
ex="mmm194";
}
}
unit=jobnetA301,,jp1admin,;
{
ty=n;
cm="ネストジョブネット";
sz=10x8;
el=jobA30101,j,+240+144;
el=jobA30102,n,+400+144;
el=jobA30103,pj,+560+144;
ar=(f=jobA30101,t=jobA30102,seq);
ar=(f=jobA30102,t=jobA30103,seq);
sd=1,2019/11/25;
st=1,23:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30101,,jp1admin,;
{
ty=j;
cm="jobA30101";
sc="/mnt/sdc2/samplejobnet/jobA30101.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA30102,,jp1admin,;
{
ty=n;
cm="jobA30102";
sz=10x8;
el=jobA3010201,j,+240+144;
el=jobA3010202,j,+560+144;
el=jobA3010203,j,+880+144;
ar=(f=jobA3010201,t=jobA3010202,seq);
ar=(f=jobA3010202,t=jobA3010203,seq);
sd=0,ud;
ex="mmm194";
unit=jobA3010201,,jp1admin,;
{
ty=j;
cm="jobA3010201";
sc="/mnt/sdc2/samplejobnet/jobA3010201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA3010202,,jp1admin,;
{
ty=j;
cm="jobA3010202";
sc="/mnt/sdc2/samplejobnet/jobA3010202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA3010203,,jp1admin,;
{
ty=j;
cm="jobA3010203";
sc="/mnt/sdc2/samplejobnet/jobA3010203.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobA30103,,jp1admin,;
{
ty=pj;
cm="jobA30103";
sc="C:\samplejobnet\jobA30103.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA302,,jp1admin,;
{
ty=n;
cm="ファイル監視";
sz=10x8;
el=jobA30201,flwj,+400+144;
el=jobA30202,j,+560+144;
ar=(f=jobA30201,t=jobA30202,seq);
sd=1,2019/11/25;
st=1,23:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30201,,jp1admin,;
{
ty=flwj;
cm="jobA30201";
flwf="/mnt/sdc2/samplejobnet/jobA30201.txt";
flwi=30;
ex="mmm194";
}
unit=jobA30202,,jp1admin,;
{
ty=j;
cm="jobA30202";
sc="/mnt/sdc2/samplejobnet/jobA30202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA303,,jp1admin,;
{
ty=n;
cm="ログファイル監視";
sz=10x8;
el=jobA30301,lfwj,+400+144;
el=jobA30302,j,+560+144;
ar=(f=jobA30301,t=jobA30302,seq);
sd=1,2019/11/25;
st=1,23:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30301,,jp1admin,;
{
ty=lfwj;
cm="jobA30301";
lffnm="/mnt/sdc2/samplejobnet/jobA30301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm194";
}
unit=jobA30302,,jp1admin,;
{
ty=j;
cm="jobA30302";
sc="/mnt/sdc2/samplejobnet/jobA30302.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA304,,jp1admin,;
{
ty=n;
cm="Windowsイベントログ監視";
sz=10x8;
el=jobA30401,ntwj,+400+240;
el=jobA30402,pj,+720+240;
ar=(f=jobA30401,t=jobA30402,seq);
sd=1,2019/11/25;
st=1,23:04;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm183";
unit=jobA30401,,jp1admin,;
{
ty=ntwj;
cm="jobA30401";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA30402,,jp1admin,;
{
ty=pj;
cm="jobA30402";
sc="C:\samplejobnet\jobA30402.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
unit=jobnetA305,,jp1admin,;
{
ty=n;
cm="JP1イベント送受信";
sz=10x8;
el=jobA30501,j,+240+144;
el=jobA30502,evsj,+400+144;
el=jobA30503,evwj,+720+144;
el=jobA30504,j,+880+144;
ar=(f=jobA30501,t=jobA30502,seq);
ar=(f=jobA30503,t=jobA30504,seq);
sd=1,2019/11/25;
st=1,23:05;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30501,,jp1admin,;
{
ty=j;
cm="jobA30501";
sc="/mnt/sdc2/samplejobnet/jobA30501.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA30502,,jp1admin,;
{
ty=evsj;
cm="jobA30502";
pfm=u;
evsid=123;
evhst="mmm194";
evssv=em;
ex="mmm194";
}
unit=jobA30503,,jp1admin,;
{
ty=evwj;
cm="jobA30503";
evwid=123;
ex="mmm194";
}
unit=jobA30504,,jp1admin,;
{
ty=j;
cm="jobA30504";
sc="/mnt/sdc2/samplejobnet/jobA30504.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA306,,jp1admin,;
{
ty=n;
cm="ORジョブ";
sz=10x8;
el=jobA30601,lfwj,+400+144;
el=jobA30602,ntwj,+400+240;
el=jobA30603,tmwj,+400+336;
el=jobA30604,orj,+720+240;
el=jobA30605,j,+1040+240;
ar=(f=jobA30601,t=jobA30604,seq);
ar=(f=jobA30602,t=jobA30604,seq);
ar=(f=jobA30603,t=jobA30604,seq);
ar=(f=jobA30604,t=jobA30605,seq);
sd=1,2019/11/25;
st=1,23:06;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30601,,jp1admin,;
{
ty=lfwj;
cm="jobA30601";
lffnm="/mnt/sdc2/samplejobnet/jobA30301.log";
lftpd="ERROR";
lfdft=s2;
lfrft=v:'\n';
lfsiv=30;
lfmxl=512;
ex="mmm194";
}
unit=jobA30602,,jp1admin,;
{
ty=ntwj;
cm="jobA30602";
ntlgt=sys;
ntevt=v:i:w:e:s:c:f;
nteid=123;
ex="mmm183";
}
unit=jobA30603,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
unit=jobA30604,,jp1admin,;
{
ty=orj;
cm="jobA30604";
}
unit=jobA30605,,jp1admin,;
{
ty=j;
cm="jobA30605";
sc="/mnt/sdc2/samplejobnet/jobA30605.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA307,,jp1admin,;
{
ty=n;
cm="判定ジョブ";
sz=10x8;
el=jobA30701,j,+400+144;
el=jobA30702,jdj,+560+144;
el=jobA30703,j,+560+240;
el=jobA30704,j,+720+144;
ar=(f=jobA30701,t=jobA30702,seq);
ar=(f=jobA30702,t=jobA30703,con);
ar=(f=jobA30702,t=jobA30704,seq);
sd=1,2019/11/25;
st=1,23:07;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30701,,jp1admin,;
{
ty=j;
cm="jobA30701";
sc="/mnt/sdc2/samplejobnet/jobA30701.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA30702,,jp1admin,;
{
ty=jdj;
cm="jobA30702";
ej=ge;
ejc=5;
}
unit=jobA30703,,jp1admin,;
{
ty=j;
cm="jobA30703";
sc="/mnt/sdc2/samplejobnet/jobA30703.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA30704,,jp1admin,;
{
ty=j;
cm="jobA30704";
sc="/mnt/sdc2/samplejobnet/jobA30704.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA308,,jp1admin,;
{
ty=n;
cm="リカバリー";
sz=10x8;
el=jobA30801,j,+560+144;
el=jobA30802,rj,+560+240;
ar=(f=jobA30801,t=jobA30802,seq);
sd=1,2019/11/25;
st=1,23:08;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30801,,jp1admin,;
{
ty=j;
cm="jobA30801";
sc="/mnt/sdc2/samplejobnet/jobA30801.sh";
un="root";
tho=4;
wth=2;
ex="mmm194";
}
unit=jobA30802,,jp1admin,;
{
ty=rj;
cm="jobA30802";
sc="/mnt/sdc2/samplejobnet/jobA30802.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA309,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件";
sz=10x8;
el=jobA30901,j,+560+144;
el=jobA30902,j,+880+144;
ar=(f=jobA30901,t=jobA30902,seq);
sd=1,2019/11/25;
st=1,23:09;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA30901,,jp1admin,;
{
ty=j;
cm="jobA30901";
eun=/jg12/jobnetB309;
sc="/mnt/sdc2/samplejobnet/jobA30901.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA30902,,jp1admin,;
{
ty=j;
cm="jobA30902";
sc="/mnt/sdc2/samplejobnet/jobA30902.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA310,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ";
sz=10x8;
el=jobA31001,j,+400+144;
el=jobA31002,nc,+560+144;
el=jobA31003,j,+720+144;
ar=(f=jobA31001,t=jobA31002,seq);
ar=(f=jobA31002,t=jobA31003,seq);
sd=1,2019/11/25;
st=1,23:10;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA31001,,jp1admin,;
{
ty=j;
cm="jobA31001";
sc="/mnt/sdc2/samplejobnet/jobA31001.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA31002,,jp1admin,;
{
ty=nc;
cm="jobA31002";
ncr=/jg12/jobnetB310;
}
unit=jobA31003,,jp1admin,;
{
ty=j;
cm="jobA31003";
sc="/mnt/sdc2/samplejobnet/jobA31003.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA311,,jp1admin,;
{
ty=n;
cm="引き継ぎ情報設定";
sz=10x8;
el=jobA31101,j,+400+144;
el=jobA31102,cpj,+560+144;
el=jobA31103,lfwj,+720+144;
el=jobA31104,j,+880+144;
ar=(f=jobA31101,t=jobA31102,seq);
ar=(f=jobA31102,t=jobA31103,seq);
ar=(f=jobA31103,t=jobA31104,seq);
sd=1,2019/11/25;
st=1,23:11;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA31101,,jp1admin,;
{
ty=j;
cm="jobA31101";
sc="/mnt/sdc2/samplejobnet/jobA31101.sh";
so="/mnt/sdc2/samplejobnet/jobA31101.out";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA31102,,jp1admin,;
{
ty=cpj;
cm="jobA31102";
cty="AJSVAR";
sc="$JP1AJS2_JPOEXEPATH$/jpqpinfoset";
prm=" -o FILENAME";
env="AJS2SO_RE_FILENAME=FILENAME=(.*)";
env="AJS2SO_STDOUTFILE=?AJS2SO_STDOUTFILE?";
env="AJS2SO_GLOBMACFILE=?AJS2SO_GLOBMACFILE?";
tho=0;
}
unit=jobA31103,,jp1admin,;
{
ty=lfwj;
cm="jobA31103";
lffnm="/mnt/sdc2/samplejobnet/?AJS2FILENAME?";
lftpd="ERROR";
lfrft=v:'\n';
lfsiv=10;
lfmxl=512;
}
unit=jobA31104,,jp1admin,;
{
ty=j;
cm="jobA31104";
sc="/mnt/sdc2/samplejobnet/jobA31104.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA312,,jp1admin,;
{
ty=n;
cm="長時間実行";
sz=10x8;
el=jobA31201,j,+400+144;
el=jobA31202,j,+560+144;
ar=(f=jobA31201,t=jobA31202,seq);
sd=1,2019/11/25;
st=1,23:12;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA31201,,jp1admin,;
{
ty=j;
cm="jobA31201";
sc="/mnt/sdc2/samplejobnet/jobA31201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobA31202,,jp1admin,;
{
ty=j;
cm="jobA31202";
sc="/mnt/sdc2/samplejobnet/jobA31202.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetA313,,jp1admin,;
{
ty=n;
cm="自動リトライ";
sz=10x8;
el=jobA31301,j,+560+144;
sd=1,2019/11/25;
st=1,23:13;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobA31301,,jp1admin,;
{
ty=j;
cm="jobA31301";
sc="/mnt/sdc2/samplejobnet/jobA31301.sh";
un="root";
tho=1;
wth=0;
abr=y;
rjs=2;
rje=100;
rec=12;
rei=1;
ex="mmm194";
}
}
}
unit=jg12,,jp1admin,;
{
ty=g;
cm="jg12";
el=jobnetB109,n,+0+0;
el=jobnetB110,n,+0+0;
el=jobnetB209,n,+0+0;
el=jobnetB210,n,+0+0;
el=jobnetB309,n,+0+0;
el=jobnetB310,n,+0+0;
el=jobnetB901,n,+0+0;
el=jobnetB902,n,+0+0;
el=jobnetB903,n,+0+0;
unit=jobnetB109,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件 参照先";
sz=10x8;
el=jobB10901,j,+240+144;
el=jobB10902,j,+400+144;
ar=(f=jobB10901,t=jobB10902,seq);
sd=1,2019/11/25;
st=1,21:39;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobB10901,,jp1admin,;
{
ty=j;
cm="jobB10901";
sc="/mnt/sdc2/samplejobnet/jobB10901.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobB10902,,jp1admin,;
{
ty=j;
cm="jobB10902";
sc="/mnt/sdc2/samplejobnet/jobB10902.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB110,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ 参照先";
sz=10x8;
el=jobB11001,j,+240+144;
el=jobB11002,j,+400+144;
ar=(f=jobB11001,t=jobB11002,seq);
sd=1,2019/11/25;
st=1,21:40;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
ncl=y;
ncn=/jg11/jobnetA110/jobA11002;
ncs=y;
unit=jobB11001,,jp1admin,;
{
ty=j;
cm="jobB11001";
sc="/mnt/sdc2/samplejobnet/jobB11001.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobB11002,,jp1admin,;
{
ty=j;
cm="jobB11002";
sc="/mnt/sdc2/samplejobnet/jobB11002.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB209,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件 参照先";
sz=10x8;
el=jobB20901,j,+240+144;
el=jobB20902,j,+400+144;
ar=(f=jobB20901,t=jobB20902,seq);
sd=1,2019/11/25;
st=1,22:39;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobB20901,,jp1admin,;
{
ty=j;
cm="jobB20901";
sc="/mnt/sdc2/samplejobnet/jobB20901.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobB20902,,jp1admin,;
{
ty=j;
cm="jobB20902";
sc="/mnt/sdc2/samplejobnet/jobB20902.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB210,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ 参照先";
sz=10x8;
el=jobB21001,j,+240+144;
el=jobB21002,j,+400+144;
ar=(f=jobB21001,t=jobB21002,seq);
sd=1,2019/11/25;
st=1,22:40;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
ncl=y;
ncn=/jg11/jobnetA210/jobA21002;
ncs=y;
unit=jobB21001,,jp1admin,;
{
ty=j;
cm="jobB21001";
sc="/mnt/sdc2/samplejobnet/jobB21001.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobB21002,,jp1admin,;
{
ty=j;
cm="jobB21002";
sc="/mnt/sdc2/samplejobnet/jobB21002.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB309,,jp1admin,;
{
ty=n;
cm="待ち合わせ条件 参照先";
sz=10x8;
el=jobB30901,j,+240+144;
el=jobB30902,j,+400+144;
ar=(f=jobB30901,t=jobB30902,seq);
sd=1,2019/11/25;
st=1,23:39;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
unit=jobB30901,,jp1admin,;
{
ty=j;
cm="jobB30901";
sc="/mnt/sdc2/samplejobnet/jobB30901.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobB30902,,jp1admin,;
{
ty=j;
cm="jobB30902";
sc="/mnt/sdc2/samplejobnet/jobB30902.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB310,,jp1admin,;
{
ty=n;
cm="ジョブネットコネクタ 参照先";
sz=10x8;
el=jobB31001,j,+240+144;
el=jobB31002,j,+400+144;
ar=(f=jobB31001,t=jobB31002,seq);
sd=1,2019/11/25;
st=1,23:40;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
rg=99;
ex="mmm194";
ncl=y;
ncn=/jg11/jobnetA310/jobA31002;
ncs=y;
unit=jobB31001,,jp1admin,;
{
ty=j;
cm="jobB31001";
sc="/mnt/sdc2/samplejobnet/jobB31001.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
unit=jobB31002,,jp1admin,;
{
ty=j;
cm="jobB31002";
sc="/mnt/sdc2/samplejobnet/jobB31002.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB901,,jp1admin,;
{
ty=n;
cm="ファイル作成";
sz=10x8;
el=.CONDITION,rc,+0+0;
el=jobB90101,j,+240+144;
sd=1,2019/11/25;
st=1,00:01;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
wt=1,1440;
wc=1,un;
rg=99;
ex="mmm194";
unit=.CONDITION,,jp1admin,;
{
ty=rc;
sz=10x8;
el=実行間隔制御,tmwj,+400+144;
cond=and;
unit=実行間隔制御,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
}
unit=jobB90101,,jp1admin,;
{
ty=j;
cm="jobB90101";
sc="/mnt/sdc2/samplejobnet/jobB90101.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB902,,jp1admin,;
{
ty=n;
cm="ログファイル書き込み";
sz=10x8;
el=.CONDITION,rc,+0+0;
el=jobB90201,j,+240+144;
sd=1,2019/11/25;
st=1,00:02;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
wt=1,1440;
wc=1,un;
rg=99;
ex="mmm194";
unit=.CONDITION,,jp1admin,;
{
ty=rc;
sz=10x8;
el=実行間隔制御,tmwj,+400+144;
cond=and;
unit=実行間隔制御,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
}
unit=jobB90201,,jp1admin,;
{
ty=j;
cm="jobB90201";
sc="/mnt/sdc2/samplejobnet/jobB90201.sh";
un="root";
tho=8;
wth=6;
ex="mmm194";
}
}
unit=jobnetB903,,jp1admin,;
{
ty=n;
cm="Windowsイベント発生";
sz=10x8;
el=.CONDITION,rc,+0+0;
el=jobB90301,pj,+560+144;
sd=1,2019/11/25;
st=1,00:03;
cy=1,(1,d);
sh=1,ca;
shd=1,2;
wt=1,1440;
wc=1,un;
rg=99;
ex="mmm183";
unit=.CONDITION,,jp1admin,;
{
ty=rc;
sz=10x8;
el=実行間隔制御,tmwj,+400+144;
cond=and;
unit=実行間隔制御,,jp1admin,;
{
ty=tmwj;
tmitv=10;
}
}
unit=jobB90301,,jp1admin,;
{
ty=pj;
cm="jobB90301";
sc="C:\samplejobnet\jobB90301.bat";
un="Administrator";
tho=8;
wth=6;
ex="mmm183";
}
}
}

export JP1_USERNAME=jp1admin

/opt/jp1ajs2/bin/ajskill -F AJS3SCHEDULE001 "/*/*"
/opt/jp1ajs2/bin/ajsleave -F AJS3SCHEDULE001 "/*/*"
/opt/jp1ajs2/bin/ajsdefine -F AJS3SCHEDULE001 -f -d / /root/unitbackup.txt

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA101
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA102
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA103
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA104
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA105
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA106
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA107
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA108
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA109
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA110
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA111
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA112
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg11/jobnetA113

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA201
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA202
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA203
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA204
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA205
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA206
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA207
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA208
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA209
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA210
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA211
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA212
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg11/jobnetA213

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA301
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA302
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA303
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA304
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA305
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA306
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA307
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA308
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA309
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA310
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA311
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA312
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg11/jobnetA313

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg12/jobnetB109
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg12/jobnetB110

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg12/jobnetB209
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -g 30 /jg12/jobnetB210

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg12/jobnetB309
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -n /jg12/jobnetB310

/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg12/jobnetB901
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg12/jobnetB902
/opt/jp1ajs2/bin/ajsentry -F AJS3SCHEDULE001 -s /jg12/jobnetB903