Launching Hercules from A Script on Fedora Workstation 25

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Launching Hercules from A Script on Fedora Workstation 25

Hercules390 - General mailing list

Greetings,

Can anyone post a script to launch Hercules on Fedora 25? I am new to Linux.

Thank you very much.

Yours truly,

Robert S. Duncan

Please check out my You Tube channel: ==> dosvsoperator!!!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Launching Hercules from A Script on Fedora Workstation 25

Hercules390 - General mailing list
#!/bin/bash
clear
usage()
{
cal; echo "Today is `date` ";
}
#compress all DASD packs
cckdcomp -3 dasd/*
# Compiling gcc as root can corrupt a running system.  Play it safe!
if [ `whoami` = 'root' ]
then
   echo "Must NOT be root!"
   exit 1
fi

cat <<..


Wait for the telnets to come up before you IPL from
  ipl 0148 for to start MVS system

..
export HERCULES_RC=scripts/ipl.rc
m=$(pwd)
export m
#echo $m
sleep 5
function Telnets()
{
   sleep 2
#   (xterm -e telnet localhost 3270&)
   (x3270 -model 3279-2-E -once 127.0.0.1:3274&)
   (x3270 -model 3279-2-E -once 127.0.0.1:3274&)
#   (xterm -geometry 133x66 -bg orange -e tail -5999f $m/prt/prt00e.txt&)
#   (xterm -geometry 133x66 -bg pink -e tail -66f $m/prt/prt00f.txt&)
#   (xterm -geometry 133x66 -bg yellow -e tail -66f $m/log/hardcopy.log&)
}
Telnets&
(xterm -geometry  80x25-0+0 -bg blue -e hercules -f $m/conf/mvs380.conf>./log/hardcopy.log&)
 
regards;

Rahim Azizarab
  

  

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Launching Hercules from A Script on Fedora Workstation 25

Hercules390 - General mailing list
In reply to this post by Hercules390 - General mailing list
This is from my Stand-Alone Took Kit focused on mainframe bare-metal
programming:

https://github.com/s390guy/SATK/blob/master/samples/imlfun

You can source this in your own bash script.  Make modifications to the
path to Hercules as required for your system.

Feel free to contact me off list or on with questions.

Harold Grovesteen


On Thu, 2017-06-08 at 11:15 +0000, Robert Duncan [hidden email]
[hercules-390] wrote:

> Greetings,
>
> Can anyone post a script to launch Hercules on Fedora 25? I am new to Linux.
>
> Thank you very much.
>
> Yours truly,
>
> Robert S. Duncan
>
> Please check out my You Tube channel: ==> dosvsoperator!!!
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Launching Hercules from A Script on Fedora Workstation 25

Hercules390 - General mailing list
In reply to this post by Hercules390 - General mailing list
To Harold Grovesteen and the Group:

I managed to get a Hercules-launching bash script working. Very basic and similar to my Windows scripts.
Nothing like as powerful and sophisticated as the examples submitted, but it gets the job done.

My old DOS/VS Release 34 system is now running on a Dell Optiplex 755 USFF (64-bit Core2 vPro)
with Hercules under 64-bit Fedora Workstation 25. Needless to say it runs ridiculously fast. It's
somewhat analogous to having a Boeing 747 jet engine-powered Chevy Vega.

I think the problem was an invalid path to the script. It's something like:

"/run/media/username/WORK01/3145/scripts/"

Some Linux paths can get a bit long and cumbersome.

Many thanks for all of your help.

Yours truly,

Robert S. Duncan


Please check out my You Tube channel: ==> dosvsoperator!!!

--------------------------------------------
On Thu, 6/8/17, Harold Grovesteen [hidden email] [hercules-390] <[hidden email]> wrote:

 Subject: Re: [hercules-390] Launching Hercules from A Script on Fedora Workstation 25
 To: [hidden email]
 Date: Thursday, June 8, 2017, 8:52 AM
 
 
  
 
 
 
   
 
 
     
       
       
       This is from my Stand-Alone Took Kit focused on
 mainframe bare-metal
 
 programming:
 
 
 
 https://github.com/s390guy/SATK/blob/master/samples/imlfun
 
 
 
 You can source this in your own bash script.  Make
 modifications to the
 
 path to Hercules as required for your system.
 
 
 
 Feel free to contact me off list or on with questions.
 
 
 
 Harold Grovesteen
 
 
 
 On Thu, 2017-06-08 at 11:15 +0000, Robert Duncan
 [hidden email]
 
 [hercules-390] wrote:
 
 > Greetings,
 
 >
 
 > Can anyone post a script to launch Hercules on Fedora
 25? I am new to Linux.
 
 >
 
 > Thank you very much.
 
 >
 
 > Yours truly,
 
 >
 
 > Robert S. Duncan
 
 >
 
 > Please check out my You Tube channel: ==>
 dosvsoperator!!!
 
 >
 
 
 
 
 
     
     
 
     
     
 
 
 
 #yiv9564140389 #yiv9564140389 --
   #yiv9564140389ygrp-mkp {
 border:1px solid #d8d8d8;font-family:Arial;margin:10px
 0;padding:0 10px;}
 
 #yiv9564140389 #yiv9564140389ygrp-mkp hr {
 border:1px solid #d8d8d8;}
 
 #yiv9564140389 #yiv9564140389ygrp-mkp #yiv9564140389hd {
 color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
 0;}
 
 #yiv9564140389 #yiv9564140389ygrp-mkp #yiv9564140389ads {
 margin-bottom:10px;}
 
 #yiv9564140389 #yiv9564140389ygrp-mkp .yiv9564140389ad {
 padding:0 0;}
 
 #yiv9564140389 #yiv9564140389ygrp-mkp .yiv9564140389ad p {
 margin:0;}
 
 #yiv9564140389 #yiv9564140389ygrp-mkp .yiv9564140389ad a {
 color:#0000ff;text-decoration:none;}
 #yiv9564140389 #yiv9564140389ygrp-sponsor
 #yiv9564140389ygrp-lc {
 font-family:Arial;}
 
 #yiv9564140389 #yiv9564140389ygrp-sponsor
 #yiv9564140389ygrp-lc #yiv9564140389hd {
 margin:10px
 0px;font-weight:700;font-size:78%;line-height:122%;}
 
 #yiv9564140389 #yiv9564140389ygrp-sponsor
 #yiv9564140389ygrp-lc .yiv9564140389ad {
 margin-bottom:10px;padding:0 0;}
 
 #yiv9564140389 #yiv9564140389actions {
 font-family:Verdana;font-size:11px;padding:10px 0;}
 
 #yiv9564140389 #yiv9564140389activity {
 background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
 
 #yiv9564140389 #yiv9564140389activity span {
 font-weight:700;}
 
 #yiv9564140389 #yiv9564140389activity span:first-child {
 text-transform:uppercase;}
 
 #yiv9564140389 #yiv9564140389activity span a {
 color:#5085b6;text-decoration:none;}
 
 #yiv9564140389 #yiv9564140389activity span span {
 color:#ff7900;}
 
 #yiv9564140389 #yiv9564140389activity span
 .yiv9564140389underline {
 text-decoration:underline;}
 
 #yiv9564140389 .yiv9564140389attach {
 clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
 0;width:400px;}
 
 #yiv9564140389 .yiv9564140389attach div a {
 text-decoration:none;}
 
 #yiv9564140389 .yiv9564140389attach img {
 border:none;padding-right:5px;}
 
 #yiv9564140389 .yiv9564140389attach label {
 display:block;margin-bottom:5px;}
 
 #yiv9564140389 .yiv9564140389attach label a {
 text-decoration:none;}
 
 #yiv9564140389 blockquote {
 margin:0 0 0 4px;}
 
 #yiv9564140389 .yiv9564140389bold {
 font-family:Arial;font-size:13px;font-weight:700;}
 
 #yiv9564140389 .yiv9564140389bold a {
 text-decoration:none;}
 
 #yiv9564140389 dd.yiv9564140389last p a {
 font-family:Verdana;font-weight:700;}
 
 #yiv9564140389 dd.yiv9564140389last p span {
 margin-right:10px;font-family:Verdana;font-weight:700;}
 
 #yiv9564140389 dd.yiv9564140389last p
 span.yiv9564140389yshortcuts {
 margin-right:0;}
 
 #yiv9564140389 div.yiv9564140389attach-table div div a {
 text-decoration:none;}
 
 #yiv9564140389 div.yiv9564140389attach-table {
 width:400px;}
 
 #yiv9564140389 div.yiv9564140389file-title a, #yiv9564140389
 div.yiv9564140389file-title a:active, #yiv9564140389
 div.yiv9564140389file-title a:hover, #yiv9564140389
 div.yiv9564140389file-title a:visited {
 text-decoration:none;}
 
 #yiv9564140389 div.yiv9564140389photo-title a,
 #yiv9564140389 div.yiv9564140389photo-title a:active,
 #yiv9564140389 div.yiv9564140389photo-title a:hover,
 #yiv9564140389 div.yiv9564140389photo-title a:visited {
 text-decoration:none;}
 
 #yiv9564140389 div#yiv9564140389ygrp-mlmsg
 #yiv9564140389ygrp-msg p a span.yiv9564140389yshortcuts {
 font-family:Verdana;font-size:10px;font-weight:normal;}
 
 #yiv9564140389 .yiv9564140389green {
 color:#628c2a;}
 
 #yiv9564140389 .yiv9564140389MsoNormal {
 margin:0 0 0 0;}
 
 #yiv9564140389 o {
 font-size:0;}
 
 #yiv9564140389 #yiv9564140389photos div {
 float:left;width:72px;}
 
 #yiv9564140389 #yiv9564140389photos div div {
 border:1px solid
 #666666;min-height:62px;overflow:hidden;width:62px;}
 
 #yiv9564140389 #yiv9564140389photos div label {
 color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
 
 #yiv9564140389 #yiv9564140389reco-category {
 font-size:77%;}
 
 #yiv9564140389 #yiv9564140389reco-desc {
 font-size:77%;}
 
 #yiv9564140389 .yiv9564140389replbq {
 margin:4px;}
 
 #yiv9564140389 #yiv9564140389ygrp-actbar div a:first-child {
 margin-right:2px;padding-right:5px;}
 
 #yiv9564140389 #yiv9564140389ygrp-mlmsg {
 font-size:13px;font-family:Arial, helvetica, clean,
 sans-serif;}
 
 #yiv9564140389 #yiv9564140389ygrp-mlmsg table {
 font-size:inherit;font:100%;}
 
 #yiv9564140389 #yiv9564140389ygrp-mlmsg select,
 #yiv9564140389 input, #yiv9564140389 textarea {
 font:99% Arial, Helvetica, clean, sans-serif;}
 
 #yiv9564140389 #yiv9564140389ygrp-mlmsg pre, #yiv9564140389
 code {
 font:115% monospace;}
 
 #yiv9564140389 #yiv9564140389ygrp-mlmsg * {
 line-height:1.22em;}
 
 #yiv9564140389 #yiv9564140389ygrp-mlmsg #yiv9564140389logo {
 padding-bottom:10px;}
 
 
 #yiv9564140389 #yiv9564140389ygrp-msg p a {
 font-family:Verdana;}
 
 #yiv9564140389 #yiv9564140389ygrp-msg
 p#yiv9564140389attach-count span {
 color:#1E66AE;font-weight:700;}
 
 #yiv9564140389 #yiv9564140389ygrp-reco
 #yiv9564140389reco-head {
 color:#ff7900;font-weight:700;}
 
 #yiv9564140389 #yiv9564140389ygrp-reco {
 margin-bottom:20px;padding:0px;}
 
 #yiv9564140389 #yiv9564140389ygrp-sponsor #yiv9564140389ov
 li a {
 font-size:130%;text-decoration:none;}
 
 #yiv9564140389 #yiv9564140389ygrp-sponsor #yiv9564140389ov
 li {
 font-size:77%;list-style-type:square;padding:6px 0;}
 
 #yiv9564140389 #yiv9564140389ygrp-sponsor #yiv9564140389ov
 ul {
 margin:0;padding:0 0 0 8px;}
 
 #yiv9564140389 #yiv9564140389ygrp-text {
 font-family:Georgia;}
 
 #yiv9564140389 #yiv9564140389ygrp-text p {
 margin:0 0 1em 0;}
 
 #yiv9564140389 #yiv9564140389ygrp-text tt {
 font-size:120%;}
 
 #yiv9564140389 #yiv9564140389ygrp-vital ul li:last-child {
 border-right:none !important;
 }
 #yiv9564140389
 
Loading...