Keyboard Shortcuts
Likes
Search
Put unit online then type "/VARY xxx ON" or cancel job with "/CAN" when tryig to use a tape
Hi everyone! I'm tryi9ng to learn to use tapes in Music/SP 6.2 running in hercules 3.17: The last time I used a tape was in 1980 under CM/S and it was mounted for my by the sysop. ? I made a small pl/I program which writes some 80 bytes blocks and I'm having this message "Put unit online then type "/VARY xxx ON" or cancel job with "/CAN"" when I run it, then issue "/vary 100 on" but I get the same message again. Following the instructions from mr. Coghlan on installeing VMARC, I created a tapefile with devinit and gave a volume name with hetinit. ? I tested the program with 2 different tape names "TAP001" and "VOL01": ? this are the files: I hope some one can advise me on how to solve this issue. t3.pli: ====== /INFO MUSIC USERID(GUEST) PW(PASS4U) TIME(5) ROUTE(MUSIC) /FILE DD1 TAPE VOL(TAP001) RSIZ(80) RECF(F) BLK(800) /FILE SYSPRINT N(LIST) NEW(REPL) /COM /FILE DD1 N(TAP001) LRECL(80) NEW(REPL) /SYS REGION=500 /INC PL1F /OPT XREF,SOURCE,NEST,ATR ?TAPE: PROCEDURE OPTIONS (MAIN); ?DCL DD1 FILE OUTPUT RECORD SEQUENTIAL ; ?DCL 1 BFR, ? ? ? ?2? A CHAR(80) ; ?PUT SKIP LIST ('PROGRAM START'); ?BFR.A=(8)'1234567890'; ?PUT SKIP DATA(BFR); ?DO I=1 TO 10 ; ? ? ?WRITE FILE (DD1) FROM (BFR); ? ? ?END; ?PUT SKIP LIST ('PROGRAM END'); ?END; ? HERCULES.CNF file: ** ? ?#? TAPE Devices 0100-0101? ? 3420? ? * ? ? ISSUING? HETMAP T100.HET I GET: ? ? ?Hercules HET and AWS tape map program Version 3.07 (c)Copyright 1999-2010 by Roger Bowler, Jan Jaeger, and others --------------------- Filename? ? ? ? ? ? : T100.HET --------------------- Label? ? ? ? ? ? ? ?: 'VOL1' Volume Serial? ? ? ?: 'TAP001' Improved Data Rec.? : ' ' Owner Code? ? ? ? ? : '? ? ? ? ? ' --------------------- Label? ? ? ? ? ? ? ?: 'HDR1' Dataset ID? ? ? ? ? : '00000000000000000' Volume Serial? ? ? ?: '000000' Volume Sequence? ? ?: '0000' Dataset Sequence? ? : '0000' GDG Number? ? ? ? ? : '0000' GDG Version? ? ? ? ?: '00' Creation Date? ? ? ?: '000000' Expiration Date? ? ?: '000000' Dataset Security? ? : '0' Block Count Low? ? ?: '000000' System Code? ? ? ? ?: '0000000000000' Block Count High? ? : '0000' --------------------- File #? ? ? ? ? ? ? : 1 Blocks? ? ? ? ? ? ? : 2 Min Blocksize? ? ? ?: 80 Max Blocksize? ? ? ?: 80 Uncompressed bytes? : 160 Min Blocksize-Comp? : 15 ?
? 0:0100 3420 TAP100.HET [1:00000000] 0:0101 3420 * 0:0201 3370 disks\MUSICX.3370 [0,307200] open 0:0202 3370 disks\MUSIC1.3370 [0,558000] open? ? Submitting T3.pli to music queue gets the following messages on console: ** 08:31 M306 /ID MUSJOB? ? ? ? ? GUEST? ? 005 500 000 R=MUSIC C=1 F= 08:31 M314 Put unit online then type "/VARY xxx ON" or cancel job with "/CAN" 08:31 M408 CMD FROM? 28 $000000? ? ? ? ?: /VARY 100 ON? <------------ VARY ON ISSUED IN CONSOLE 08:31 M314 Put unit online then type "/VARY xxx ON" or cancel job with "/CAN" ? I have to cancel to get the batch done, since the tape is never accesible to the program.
Carlos Argentina |
Hi Carlos,
toggle quoted message
Show quoted text
Tapes can be a bit tricky on MUSIC/SP. Does your MUSIC/SP system have a tape drive defined at address 100? Usually, they are defined at 181 and 182 as far as I recall. The UCB command should tell you. If your system doesn't have a tape drive at address 100, try changing your tape drives to 181 and 182 (or wherever UCB says you have a tape drive) in your Hercules configuration. I think the way it used to be done on the real mainframe was: 1. Submit the batch job. 2. When you get the M314 message, enter the /VARY 181 ONLINE command. 3. When you get a message like "M309 M 181,LABEL", put the tape on the tape drive and press LOAD. 3. The job runs. When using Hercules, the equivalent of putting the tape on the drive and pressing LOAD is to give a DEVINIT command on the Hercules console. (I don't know how this works on Sim390.) Regards, Peter Coghlan.
|
Hello Carlos, |
well, Seems I'm not in my lucky day, I'm able to attach and detach tape units ( BTW UCB SEES MY TAPE:?12? 875590? 100? 01 20 00? 02 Tape? ? ? TAP001? ? ?0? 8751D0 ), even can do devinit. but my program ( or music ) fails to link the program with the virtual unit. In VM I Would define something like this to do the linking: //TAPC80D8 DD DSN=SIMOTIME.TAPEFILE.TAPC80D8,DISP=(MOD,DELETE,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS) but here I don't know how to do this in Hercules and Music
Carlos Argentina |
On Thu, Sep 3, 2020 at 01:56 PM, Fish Fish wrote:
"Batang"? Really?! You actually like that font?! YUCK! :)I hate it too Fish! It is not the original font I used (Liberation Mono). It was changed along the way. I would assume my PDF does not contain the font as such so the viewer does its "best" replacing it. Rene FERLAND, Montreal |
Rene FERLAND wrote:
Fish wrote:Ah. Yes, I see that now. I missed that the first time."Batang"? Really?! You actually like that font?! YUCK! :)I hate it too Fish! It is not the original font I used Well, that's easily fixable! Just permanently set "EmbedFont=Yes" option in the "[PDF]" section(*) of your HercPrt's Job Separator Control File, OR, to just temporarily set that option for your current HercPrt session, simple [X] check the "Embed font" option on HercPrt's "PDF Options" tab. Doing so causes a copy of your chosen font to be internally embedded within the PDF file (printout) itself, thereby allowing it to be viewed properly even on other peoples' systems which don't happen to have that particular font installed. HTH! (*) By default, at the very end of the file. -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Oh, no. The last time I used this jcl was in 1985, the last time I used an IBM 370. Just tryed to point out the missing link between software and hardware. Actually 1985 was the last time I used open reel tape units. After that I used several types of scai digital cassettes or dats. Under qnx, windows or Unix. But they are very easy to use no need to previously assign a volume and format.}?
-- Carlos Argentina |
Thanks fo the help everyone. The killer was discovered and jailed.? Trouble was I was using Hercules 3.07., that seems that never gets the tape online. On Hercules 3.13 or Hercules 4, things work fine like this: 16:57 M306 /ID MUSJOB? ? ? ? ? GUEST? ? 005 500 000 R=MUSIC C=1 F=? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Carlos Argentina |
I found in an old paper by Dave Edward how to do it in Music 3.07: ? 5- Execute: ? ? User: submit cfread.pli Operator: ?08:22 M306 /ID MUSJOB? ? ? ? ? GUEST? ? 005 500 000 R=MUSIC C=1 F=? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?08:22 M314 Put unit online then type "/VARY xxx ON" or cancel job with "/CAN"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?devinit 100 *? ? ? ? ? ? ? ? ? ? ? ?<====== OPERATOR REPLY? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?HHCPN098I Device 0:0100 initialized? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?/(000F) VARY 100 on? ? ? ? ? ? ? ? ?<====== OPERATOR REPLY? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?08:23 M309 M 100,TAP001? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?devinit 100 tap001.het? ? ? ? ? ? ? <====== OPERATOR REPLY? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? ?HHCTA004I 0100: tap001.het is a Hercules Emulated Tape file? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?HHCPN098I Device 0:0100 initialized? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?08:23 M309 D 100,TAP001? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?08:23 M300 BATCH IDLE ?
-- Carlos Argentina |