Skip to content

Commit 5aa2d68

Browse files
committed
v1.4.29
1 parent 3721d6f commit 5aa2d68

File tree

6 files changed

+22
-25
lines changed

6 files changed

+22
-25
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN /opt/hercules/vm370/build.sh && \
2626
FROM ubuntu:latest
2727

2828
RUN apt-get update && \
29-
apt-get install --no-install-recommends -y hercules c3270 zip unzip netcat && \
29+
apt-get install --no-install-recommends -y hercules c3270 zip unzip netcat dos2unix && \
3030
apt-get -y purge $(dpkg --get-selections | grep deinstall | sed s/deinstall//g) && \
3131
rm -rf /var/lib/apt/lists/*
3232

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ cd ..
229229

230230
# GCCLIB
231231
(cd /opt/hercules/vm370; hercules -f hercules.conf -d >/dev/null 2>/dev/null &)
232-
wget -nv https://github.com/adesutherland/CMS-370-GCCLIB/releases/download/f0046/GCCLIB.zip
232+
wget -nv https://github.com/adesutherland/CMS-370-GCCLIB/releases/download/v0.8.1/GCCLIB.zip
233233
unzip GCCLIB.zip
234234
chmod +x GCCLIB/cmsinstall.sh
235235
mkdir io
@@ -244,7 +244,7 @@ rm GCCLIB.zip
244244

245245
# CMS BREXX
246246
(cd /opt/hercules/vm370; hercules -f hercules.conf -d >/dev/null 2>/dev/null &)
247-
wget -nv https://github.com/adesutherland/CMS-370-BREXX/releases/download/v0023/BREXX.zip
247+
wget -nv https://github.com/adesutherland/CMS-370-BREXX/releases/download/v0.9.9/BREXX.zip
248248
unzip BREXX.zip
249249
chmod +x BREXX/cmsinstall.sh
250250
mkdir io

changelog.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
VM/370 Docker Container - Changelog
22
===================================
33

4+
1.4.29 - GCCLIB v0.8.1
5+
BREXX v0.9.9
6+
Add dos2unix
7+
MOD HRC409DS - Fix Crash when calling non-existing
8+
command via address cms #6
49
1.4.28 - GCCLIB F0046
510
1.4.27 - MOD HRC408DS
611
MOD HRC409DS

localrun.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/sh
22
# Script to run the locally built container
3-
docker run -rm -d -p 3270:3270 -p 8038:8038 -p 3505:3505 --name vm370 adriansutherland/vm370local:latest
3+
docker kill vm370
4+
docker run --rm -d -p 3270:3270 -p 8038:8038 -p 3505:3505 --name vm370 adriansutherland/vm370local:latest

mods/buildnuc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ herccontrol "/59"
3838
herccontrol "/yes"
3939

4040
# DMSINI611R VERSION IDENTIFICATION =
41-
herccontrol "/CMS VERSION 6.0 DOCKER 1.4.28"
41+
herccontrol "/CMS VERSION 6.0 DOCKER 1.4.29"
4242

4343
# DMSINI612R INSTALLATION HEADING =
4444
herccontrol "/Conversional Monitor System"

mods/hrc409ds/dmscsf.tmpftype

+11-20
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,14 @@
11
./ I 1460000 $ 1460100 100
2+
* HRC409DS
23
TM MISFLAGS,NEGITS Error in a CMS command? HRC409DS
3-
BNO UPDAT Normal flow if not HRC409DS
4+
BNO CSFDONE Normal flow if not HRC409DS
45
LTR R15,R15 Check for negative RC? HRC409DS
5-
BNM UPDAT Normal flow if not HRC409DS
6-
TM OPTFLAGS,NOIMPCP Implied CP in effect? HRC409DS
7-
BO UPDAT Nothing to do if not HRC409DS
8-
LA R1,CMNDLINE Address of command line HRC409DS
9-
LR R0,R6 Length of command HRC409DS
10-
BCTR R6,0 Minus 1 HRC409DS
11-
L R5,NUCUPPER Uppercase translate table HRC409DS
12-
B *+8 HRC409DS
13-
TR 0(*-*,R1),0(R5) HRC409DS
14-
EX R6,*-4 Uppercase it HRC409DS
15-
LA R6,1(,R6) Restore count in R6 HRC409DS
16-
L R15,=V(DMSCPF) HRC409DS
17-
BALR R14,R15 Try as a CP command HRC409DS
18-
CH R15,=H'1' Unknown CP command? HRC409DS
19-
BNE NOT4 Known if not HRC409DS
20-
LNR R15,R15 Negative RC HRC409DS
21-
B UPDAT Done THE FILES HRC409DS
22-
NOT4 DS 0H Use CP retcode HRC409DS
23-
UPDAT DS 0H HRC409DS
6+
BNM CSFDONE Normal flow if not HRC409DS
7+
* HRC409DS
8+
LA R1,CMNDLIST Address of command line HRC409DS
9+
L R15,=V(DMSCPF) Try as a CP command HRC409DS
10+
BALR R14,R15 HRC409DS
11+
CH R15,=H'1' Does RC say 'Unknown cmd'? HRC409DS
12+
BNE CSFDONE Done here if not HRC409DS
13+
LA R15,3 HRC409DS
14+
LNR R15,R15 Make it a -3 for REXX HRC409DS

0 commit comments

Comments
 (0)