Keyboard Shortcuts
Likes
Search
silly question
Does submit work under H390-MUSIC SP ? I was reading documentation, and submit seems a backdoor to real VM/370 hardare ? Is that so ? Could I run submit jobs under H-390 ? How ? Or I do need to run Hercules+MUSIC ? Or worst, do I need a real VM OS hardware available? ? Thanks in advance for you? answers
Carlos Argentina |
There is no such thing as submitting a job to Hercules. You can submit a JOB to VM if you are running MUSIC/SP as a guest of VM. See the VMSUBM?command on page 355 of the Admin ref. Joe On Sat, Jul 18, 2020 at 8:16 AM carlos feldman <carlfelster@...> wrote:
|
Carlos,
?
I am not sure I understand your silly question :-) What I can say is this.
?
If you run MUSIC/SP native under Hercules, you can:
?
a) submit a job to the MUSIC/SP BATCH Facility from your host (Windows, Linux, MacOS) using the card reader;
b) submit a job in a MUSIC file to BATCH using the SUBMIT command.
?
If you run MUSIC/SP in a guest under VM (itself under Hercules) you can:
?
1) do a) and b) above;
2) send, from MUSIC, a job to an other virtual machine running possibly a different OS using SUBMIT again; you need to customize SUBMIT for that, see page 65 of Administrator's Reference). However, you can't get back the output of the job in the OUTPUT spool of MUSIC, VMREADX is missing on the MUSIC demo.
?
Cheers,
?
Rene FERLAND, Montreal
? |
Well, Thanks to you all ? I think this is the answer to my question. For simplicity reasons. I'm running Music/SP version B plus updates in a H-390 ( 1.7 ) environment under Windows 10. My goal is to compile and generate object modules, for several PL/1 Programs from a project, then linkedit them, make a loadable module and then load it ( as I did under CM/S several years ago ). I was unable to compile and link several modules, because PL/I (F) compiler reads al the data card in a batch, till EOF, so if I execute a script the compilers try to compile ( with errors ) all the lines in the batch, including the /END, /LOAD LKED. So I tryed to submit some jobs ( each one with his own /END), but MUSIC acknowledge to send them, but SIM-390, does not execute them at all. Seems like I have to explore the Hercules option.?? Thanks again.
Carlos Argentina |
Hello Carlos,
If by H-390 (1.7) you mean the Sim390 version 1.7 emulator of Dave Edwards, then I don't know how to submit a job from Windows using the card reader. But, with Sim390, you can use the ftp server of MUSIC to transfer files, in particular, your PL/I sources. I have attached a REXX script by Dave Edwards to compile the different PL/I subroutines of the SSP package. I think you may find it useful and adaptable (at least in part) to your situation. Take also a look at the Subroutine Library Creation documentation, page 345 of the Administrator's Reference. With SUBLIB.GEN, you can create a library of object modules that can be used later by the linker or the loader. Cheers, Rene FERLAND, Montreal |
Hello Mark,
|
Please note that both the documentation available on the website
toggle quoted message
Show quoted text
and the online documenation available on the MUSIC/SP demo system via MAN and MANX is the full documentation for MUSIC/SP 5.1 The publically available MUSIC/SP 6.x Demo system is missing many features described in this documentation. This includes features relating to running under VM such as VMSUBM, VMPRINT and VMREADX for example. My feeling is that because it was intended that MUSIC/SP Demo system would be run directly on Sim390 or Hercules, not on VM, these features could be omitted to reduce the size of the demo system. Regards, Peter Coghlan.
|
There's only one! :) Its in the music manuals zip available?on the teammpg?website... Joe On Sun, Jul 19, 2020 at 12:20 PM Mark Waterbury <mark.s.waterbury@...> wrote: Joe, |
Hi !!! Thanks for all your repplies. Finally after reding the JCL and File manuals, I wrote some scripts. That proved wrong !!!! Making short a long story, if you subit any file Music adds for you the header files, and then sents to system executor ( you can see them in the operator console ) the CRT printings are redirected to the virtual printer file on Windows. So I wrote the following
/SYS REGION=512 /file SYSPUNCH N(\PLI\PLITEST-2.bat\plitest-2.obj) NEW(REPL) /INC PL1F /job nogo /INC \PLI\PLITEST-2.BAT\PLITEST-2.PLI ? b) (linkedit) /file lmod n(\pli\plitest-2.bat\MYPROG.LMOD) NEW(REP) lr(128) /etc recfm(f) space(100) /file sublibos pds(*pl1f,*mus,*os) /load lked /job nomap,nogo,print,stats,mode=os,name=MYPROG .org 4a00 /INC \pli\plitest-2.bat\PLITEST-2.OBJ c) (Run) ?
/com? sysprint n(\pli\plitest-2.bat\plitest-2.prn) old append lrecl(133)
/inc xmpl1f
MYPROG n(\pli\plitest-2.bat\MYPROG.lmod)
A=1? B=2? C=3 ;
/END
?
Last but not least a rexx script to manage all this chores:
/INC REXX
PUSH '/INCLUDE PLITEST-2.CMP'
EXEC
PUSH '/INCLUDE PLITEST-2.LNK'
EXEC
PUSH '/INCLUDE PLITEST-2.RUN'
EXEC
PUSH '/FILE F1 N(MYPROG.LMOD) OLD DELETE'
EXEC
?
Which in turn gave the following printout in the printout.txt file in windows /ID MUSJOB? ? ? ? ? CARLOS? ?010 500 000 R=SYSTEM C=1 F=? ? ? ? ? ? ? ? ? ? ? ? ? ?SUN JUL 19, 2020 19:37
**EXCESSIVE TIME ESTIMATED..ASSUMING? ?300 SERVICE UNITS
/COM 6 n(\pli\plitest-2.bat\plitest-2.prn) old append? lrecl(133)
/FILE LMOD N(\PLI\PLITEST-2.BAT\MYPROG.LMOD) NEW(REP) LR(128)
/ETC RECFM(F) SPACE(100)
/FILE SUBLIBOS PDS(*PL1F,*MUS,*OS)
/LOAD LKED
?
?
/JOB NOMAP,NOGO,PRINT,STATS,MODE=OS,NAME=MYPROG
.ORG 4A00
?
TOTAL LENGTH? -? ?8568
?
ENTRY ADDRESS -? ?5450
BLOCKS? ? ?2 THROUGH? ? 71 WERE USED FOR THE LOAD MODULE.
?
END OF JOB MUSJOB? ?USERID=CARLOS? ? ? ? ? ?AT 19H37M SUN JUL 19, 2020 EXECUTE TIME? ? ? ?1.5 SERVICE UNITS
? ? ? ? ? ?3 CARDS READ? ? ? ?13 LINES PRINTED? ? ? ? 0 CARDS PUNCHED 0 TAPE MOUNTS 0 DISK MOUNTS
?
/ID MUSJOB? ? ? ? ? CARLOS? ?010 500 000 R=SYSTEM C=1 F=? ? ? ? ? ? ? ? ? ? ? ? ? ?SUN JUL 19, 2020 19:37
**EXCESSIVE TIME ESTIMATED..ASSUMING? ?300 SERVICE UNITS
/COM? sysprint n(\pli\plitest-2.bat\plitest-2.prn) old append lrecl(133)
?
?
A= 1.000000E+00? ? ? ? ?B= 2.000000E+00? ? ? ? ?C= 3.000000E+00;
?1.000000E+00? ? ? ? ? ? 2.000000E+00? ? ? ? ? ? 3.000000E+00
Z2=? ? ? ? ? ? ? ? ? ? ? 3.000000E+00
Z=? ? ? ? ? ? ? ? ? ? ? ?3.000000E+00
The Largest Value is? ? ?3.000000E+00
?
END OF JOB MUSJOB? ?USERID=CARLOS? ? ? ? ? ?AT 19H37M SUN JUL 19, 2020 EXECUTE TIME? ? ? ?1.6 SERVICE UNITS
? ? ? ? ? ?3 CARDS READ? ? ? ? 9 LINES PRINTED? ? ? ? 0 CARDS PUNCHED 0 TAPE MOUNTS 0 DISK MOUNTS
?
?
Note that, you don't put a /ID and Password lines on each job, Music does for you.
all the filenames must be fully written.
In my real job I define also a SYSPRINT file, to get all the ouptput in a local file instead of the system printer.
note that in compile and link jobs I can /Include as many .PLI or .OBJ files as I wish, this is very similar to WatC compiler does, but Watc, can detect a /end card, so ir's stop processing so you can compile and link in the same job
?
regards
-- Carlos Argentina |