Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Hercules Beginner Needs Some Help
Craig Kaercher
Hello All,
I am not new to mainframes, but am new to Hercules, and in getting started I have some questions: 1.? Why is there no system libraries?? No SYS4.* or SYS2.*.? Was that supposed to come with the install.? If not, where can I get them? 2.? The same question applies to the compile/link utilities.? Should they be there and if not where can I get them? 3.? For jcl that involves no tapes,, super simple, what should the CLASS and MSGCLASS be?? I would normally say CLASS=X,MSGCLASS=Y.? Is it different on Hercules?? I am trying to run a compile which fails on a JCL error, but it won't give me what the error is.? I have tried JCLCHK but that is not available. I am probably going to have more questions as I get started, but I just want to get my first compile/link/execute working.? Thanks again for all the help. Craig |
On Sun, Apr 7, 2024 at 08:13 PM, Craig Kaercher wrote:
I am not new to mainframes, but am new to Hercules, and in getting started I have some questions:Hello Craig, Welcome to the community! It would help if you could tell us which MVS system you are running under Hercules. I know of four: Jay Moseley system, MVS/CE, TK4- and TK5. Is it one of those? or an other one? Cheers, Rene FERLAND, Montreal |
On Sun, Apr 7, 2024 at 08:27 PM, Craig Kaercher wrote:
Since you are at the beginning with MVS under Hercules, I recommend you move from TK4- to TK5, the latest distribution of MVS 3.8J, it comes with a quasi-clone of ISPF. It is available here:??and it works pretty much like (or better than) TK4-. And, to answer in part your questions: 1. There is no SYS4.* data sets on TK4- and TK5, but SYS2.*?are there. This includes SYS2.LINKLIB which contains many programs and compilers, SYS2.PROCLIB which contains a bunch of cataloged procedures (including those of the compilers), and SYS2.JCLLIB, filled with examples of jobs doing various tasks. There are also SYS1.* datasets which you may want to explore. 2. Compilers are available for Algol, COBOL, Fortran, GCC, JCC, Pascal, PL/1, RPG, Simula, and WATFIV. These are old compilers though (70's-80's). Examples on how to use them are in SYS2.JCLLIB, look for members starting with PRIM: PRIMASM, PRIMCOB1, PRIMGCC, etc. 3. I used CLASS=A; if I want a printed copy of the job, I use MSGCLASS=A, otherwise I use MSGCLASS=H and look at the job output with ISPF. Remember, there is no licensed products on TK4- or TK5: no CICS, no DB2, no SDSF, no USS, no WebSphere. Don't expect full TCP/IP either, networking is available via Network Job Entry, and there is a FTP daemon look-alike. Cheers, Rene FERLAND, Montreal P.S. -- For printing, I recommend either Fish HercPrt program () or virtual1403 (). |
If you install the latest incarnation of TK which is TK5.2, you will find SYS2 and others.
toggle quoted message
Show quoted text
You need to read the docs that come with it as well as the original one's for TK4 as well as all of the update notes for more information. SYS2 and the others are mostly related to the add-ons external from the IBM original distribution. These docs do provide details as to what is initially set up for CLASS and MSGCLASS and what spools are allocated to what but these are changeable depending on your wants etc see check out the JES2 set ups. On 08/04/2024 04:13, Craig Kaercher via groups.io wrote:
Hello All, |
Hi Craig, On Mon, 8 Apr 2024 at 03:13, Craig Kaercher via <Craig.Kaercher=[email protected]> wrote: I am not new to mainframes, but am new to Hercules, and in getting started I have some questions: Email address is in my signature, 'nuff said... Robert -- Robert AH Prins robert.a.h.prins(a) |
开云体育Craig, If you get this list as e-mail, there is a link in the footer to respond to a sender. If you use the web interface, when you click reply , there is a drop down which by default says group, but can be changed to “Sender” or “Moderator” Dave ? From: [email protected] <[email protected]> On Behalf Of Robert Prins
Sent: 08 April 2024 15:34 To: [email protected] Subject: Re: [H390-MVS] Hercules Beginner Needs Some Help ? Hi Craig, ? On Mon, 8 Apr 2024 at 03:13, Craig Kaercher via <Craig.Kaercher=[email protected]> wrote:
? Email address is in my signature, 'nuff said... ? Robert -- Robert AH Prins |
On 08/04/2024 22:29, Craig Kaercher via groups.io wrote:
I installed TK5.2.? I am trying to use TN3270 but every time I bring it up it always brings up Tk4 on the screen.? I have tried playing with 'Session' and 'Reconnect' but it always brings up Tk4.? Any ideas?? Thanks.Did you remember to un-install TK4 beforehand OR set up environment vars to point to the TK5 version. As I use a current version of SDL Hercules I have changed the supplied script to : #!/bin/bash # #***??????????????????????????????????????????????????????????????? *** #*** Script: mvs_ipl?????????????????????????????????????????????? *** #***??????????????????????????????????????????????????????????????? *** #*** Purpose: IPL OS/VS2-MVS 3.8j (tk5 unattended operations)?????? *** #***??????????????????????????????????????????????????????????????? *** #*** Updated: 2023/05/30??????????????????????????????????????????? *** #***??????????????????????????????????????????????????????????????? *** # # # set environment # MODE=`head -1 unattended/mode 2>/dev/null` DAEMON="-d" if [[ $MODE == 'CONSOLE' ]]; then unset DAEMON; fi # # source configuration variables # if [ -f local_conf/tk5.parm ]; then . local_conf/tk5.parm; fi if [[ ${arch:0:3} == 'arm'?? && $REP101A == '' ]];then export REP101A=specific;fi if [[ $REP101A == 'specific' && $CMD101A == '' ]];then export CMD101A=02;fi # # IPL OS/VS2-MVS 3.8j # export HERCULES_RC=scripts/ipl.rc if [[ $MODE == 'CONSOLE' ]]; ?? then $force_arch hercules $DAEMON -f conf/tk5.cnf >log/3033.log; ?? else ????? coproc MVS ($force_arch hercules $DAEMON -f conf/tk5.cnf 2>&1 | tee log/3033.log) ????? cat <&${MVS[0]} ????? wait $MVS_PID; fi I also have : #!/bin/bash # #***??????????????????????????????????????????????????????????????? *** #*** Script: mvs?????????????????????????????????????????????????? *** #***??????????????????????????????????????????????????????????????? *** #*** Purpose: Wrapper for the original TK5 mvs script (now named??? *** #***????????? mvs_ipl) to work around the missing coproc capability *** #***????????? of bash v3.x as distributed with OS X. If running on? *** #***????????? OS X this script executes mvs_osx for special OS X??? *** #***????????? processing. In all other cases it executes the??????? *** #***????????? original mvs_ipl script.????????????????????????????? *** #***??????????????????????????????????????????????????????????????? *** #*** Updated: 2023/05/30??????????????????????????????????????????? *** #***??????????????????????????????????????????????????????????????? *** # # # set environment # system=`uname -s | awk '{print tolower($0)}'` case $system in darwin) ?? mvs=mvs_osx ?? ;; *) ?? mvs=mvs_ipl2 ?? ;; esac # # execute the target script # exec bash -c "source $mvs" I think I use the former script via another script that sets up some other vars as well as a VM - can't access it at the moment. |
On Mon, Apr 8, 2024 at 02:29 PM, Craig Kaercher wrote:
I installed TK5.2.? I am trying to use TN3270 but every time I bring it up it always brings up Tk4 on the screen.? I have tried playing with 'Session' and 'Reconnect' but it always brings up Tk4.? Any ideas?? Thanks.Are you running both systems at the same time? If so, it is possible TK4- holds the 3270 port for 3270 connections, while TK5 is waiting for it to be available. In that case, shutdown TK5, edit conf\tk5.cnf and change CNSLPORT to a different value, like 3279 instead of 3270, and use that port to connect to TK5. Cheers, Rene FERLAND, Montreal |
to navigate to use esc to dismiss