-
Notifications
You must be signed in to change notification settings - Fork 1
/
apl360
executable file
·25 lines (25 loc) · 1.11 KB
/
apl360
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
#**********************************************************************
#*** ***
#*** Script: apl360 ***
#*** ***
#*** Purpose: Run APL\360 on OS/360-MVT. ***
#*** ***
#*** Updated: 2013/03/23 ***
#*** ***
#**********************************************************************
#
# install APL\360 if necessary
#
if [ ! -f aplinst/status ]; then ./aplinst/install_apl360; fi
if [ ! -f aplinst/status ]; then exit; fi
#
# set environment
#
if [[ `uname -m` == 'x86_64' ]];then arch=64;else arch=32;fi
export PATH=hercules/linux/$arch/bin:$PATH
export LD_LIBRARY_PATH=hercules/linux/$arch/lib:hercules/linux/$arch/lib/hercules:$LD_LIBRARY_PATH
#
# IPL OS/360-MVT and start APL\360
#
HERCULES_RC=scripts/automatic_linux.rc hercules -d -f conf/mvt_intcons.cnf