Keyboard Shortcuts
Likes
- H390-DOSVS
- Messages
Search
Re: Some questions about BSAM files on DOS/VS
Hi, Rene and Piotr,
From what I recall, from the last century, it was probably the 1980s the last time I actually worked with DOS/VSE at all "for real"... and it was a long time ago. The way DOS/360 and DOS/VS and DOS/VSE worked, you used // DLBL and // EXTENT cards to define data sets (files) on DASD.? The DLBL was just a way to assign a "label" to the file, e.g. to create a VTOC entry.? It has an optional "date" parameter, where you can specify an expiration date or number of days until the dataset "expires" ... if you do not specify it, it defaults to 7 days. Anyway, the way I recall it worked is, when you want to "erase" or "delete" a file, you just create a new file over top of it, using the same or overlapping extents. Then, the DOS system checks the VTOC for those extents and if there is an entry, it checks the expiration date. If it has already expired, no problem, and not operator intervention is required. But, if the entry has not yet expired, the system operator gets a message, the very popular "UNEXPIRED DATASET" ... blah, blah blah ... to which the operator must reply to allow the current job to overwrite those extents.? If the operator allows it, then DOS deletes the old VTOC entry, before creating a new one, based on the new // DLBL card in the JCL. At least, that's how I seem to remember it worked. So, you did not really have to use any fancy special utility for "normal" operations and normal jobs. Hope that helps, Mark S. Waterbury |
Re: Some questions about BSAM files on DOS/VS
Piotr Kolasinski wrote:
I know that my questions may be stupid but ..There are no stupid questions if they are asked. It is only when you don't ask your question that it becomes stupid. ;-) 2. If I define DLBL and EXTENTs in JCL, but phase executingNo. If the file is never OPENED, it will never be created. If it is OPENED however, then the VTOC entries *will* be created with however many EXTENTS you defined in your JCL. If you never write data, then the file will simply remain empty. 3. If I have 2 extents defined, and my program writes dataYes. When a file is created, it is created with however many extents are in your JCL. DOS/VS does not automatically create new extents for you or automatically delete unused extents for you either. You need to MANUALLY maintain all of that yourself in your JCL. DOS is very different than MVS. It does not have any automatic space management logic. YOU, the user, must manage your dasd space manually yourself. -- "Fish" (David B. Trout) Software Development Laboratories mail: fish@... |
Re: Some questions about BSAM files on DOS/VS
On Tue, Jan 23, 2024 at 01:56 PM, Piotr Kolasi¨½ski wrote:
>> I never heard about this tool. Me neither, before I asked the same question as you in this group. :-) >> In real that is not even space management ,but only operation to remove VTOC entries :-) I can't say for sure, but I would not be surprised if DISP=DELETE on MVS just delete the entries in the catalog and VTOC, not the data set itself on disk. Cheers, Rene FERLAND, Montreal |
Re: Some questions about BSAM files on DOS/VS
Thanks Rene!
I never heard about this tool . It's really strange that for manage space on dasd volume we have to use "diagnostic" tool (as it is defined in last z/VSE documentation). In real that is not even space management ,but only operation to remove VTOC entries :-) |
Re: Some questions about BSAM files on DOS/VS
On Tue, Jan 23, 2024 at 12:44 PM, Piotr Kolasi¨½ski wrote:
1. How to remove (delete) BSAM dataset from DASD? In MVS I just use DISP=DELETE and IEFBR14, but how to remove sequenced dataset, previously allocated with DLBL and EXTENTs in JCL? I can't answer for your questions 2 and 3 (Fish, can you?). But for 1 above, I use a program called IKQVDU. It can be run in a batch job or interactively on the console. I used the latter.
It goes on like this (on the console): ?
a) release the PAUSEBG job from the reader queue:
? ?
? ?r rdr,pausebg
?
b) at the BG prompt, enter
?
? ?// ASSGN SYS000,X'cuu'? ? ? ?(the cuu of the disk containing the data set to delete)
? ?// EXEC IKQVDU,SIZE=AUTO
?
c) at the READY prompt, specify SCRATCH, then DSN, then the data set name:
?
?01 AR R RDR,PAUSEBG
?02 F1 1R88I? OK
?03 F1 1Q47I? ?BG PAUSEBG 00078 FROM 000
?04 BG // JOB PAUSEBG
?05? ? DATE 01/24/24,CLOCK 16/23/45
?06 BG // PAUSE
?07 BG // ASSGN SYS000,X'362'
?08 BG // EXEC IKQVDU,SIZE=AUTO
?09 BG? SPECIFY FUNCTION OR
?10 BG? REPLY? '?'? FOR OPTIONS
?11 BG? READY
?12 BG SCRATCH
?13 BG? TO SCRATCH ENTIRE VOLUME REPLY 'VTOC'
?14 BG? TO SCRATCH A PARTICULAR DSCB REPLY 'DSN'
?15 BG DSN
?16 BG? ENTER DSN
?17?
?18?
?19?
?20?
?0D07D? ENTER RESPONSE
?BG??
?
4. once done, type END to terminate the program and quit the PAUSEBG job by pressing Enter.
?
I think I have some documentation of the program somewhere. I will try to find it and put it in the Files section.
?
Cheers,
?
Rene FERLAND, Montreal |
Some questions about BSAM files on DOS/VS
Hello everybody I know that my questions may be stupid but .. ? |
Re: POWER II source distribution
Hi,?
I know this thread is somewhat old, but I had exactly the same experience yesterday and managed to recover from it. I checked both the original POWER input tape as well as the newly created blank tape as both were empty except for two tapemarks on each tape. This was in fact my second attempt to run this job. I downloaded the POWER input tape again and re-created the blank tape and re-ran the job. On this second (now third) attempt it ran successfully. My conclusion is; there is nothing wrong with neither the POWER tape nor the DOS/360 utilities. You just have to be very careful when re-running jobs. Regards, Steen |
File /hello_99bottles_pi.zip uploaded
#file-notice
Group Notification
The following files and folders have been uploaded to the Files area of the [email protected] group. By: Doug Wegscheid <dwegscheid@...> Description: |
Re: Missing module?
On Thu, Jan 4, 2024 at 09:36 AM, Doug Wegscheid wrote:
Prof. Ferland, would you be willing to post your complete job(s)?Here it is: * $$ JOB JNM=HELLO,CLASS=0,DISP=D
* $$ LST CLASS=A,DISP=D,JSEP=0
// JOB HELLO
// OPTION LINK
// EXEC ASSEMBLY
? ? ? ? ?PRINT NOGEN
HELLO? ? START 0
BEGIN? ? BALR? 3,0
? ? ? ? ?USING *,3
? ? ? ? ?OPEN? PRINTER
? ? ? ? ?PUT? ?PRINTER,MESSAGE?
? ? ? ? ?CLOSE PRINTER
? ? ? ? ?EOJ
PRINTER? DTFPR DEVADDR=SYSLST,IOAREA1=MESSAGE
MESSAGE? DC? ? CL121'Hello, World!'
? ? ? ? ?LTORG
? ? ? ? ?END? ?BEGIN
/*
// EXEC LNKEDT
// EXEC
/&
* $$ EOJ
This job uses one IOAREA. My original job with two IOAREAs and ASA is in the first message of this thread, but you need to assemble module IJDFAZIW for it to work. I did that back then in 2020, but I forgot how. :-/ Cheers, Ren¨¦ FERLAND, Montreal |
Re: Missing module?
On Mon, Apr 20, 2020 at 12:22 PM, Ren¨¦ Ferland wrote:
Prof. Ferland, would you be willing to post your complete job(s)? I have hello world working for FORTRAN, PLI, and COBOL, but not assembler yet... |
Re: Shedlock DOS/VS: Changing POWER/VS autostart deck?
1=T....
Well my last "real" DOS/VSE IPL was 1990..... (As a VM/VSE systems programmer) ... The devil was in indeed in the detail..... .. And my memory very big (so details are easily lost!) I was running Hyperion 4+ with VM370CE with DOSR34.. Only ... that delivered no success... So I skipped VM370CE .. and .. SUC6...? To speak with Spock... There must be a logical explanation...... And I have to thinker with the VM370CE version to include the real console definitions etc etc... Thx for the support! I hope to deliver - in the near future -? a DOS/VSE/Hyperion/VM370 package! But for now...... Happy New Year for all! Regards,? Marcel |
Re: Shedlock DOS/VS: Changing POWER/VS autostart deck?
On Wed, Dec 27, 2023 at 08:45 AM, Marcel Faber wrote:
Well, not really... $$A$SUPT is a modified version of $$A$SUP1 made by Michel for all I know. I think $$A$SUP1 still exists on Michel system, but it is not its proper supervisor. Cheers, Rene FERLAND, Montreal |
Re: Shedlock DOS/VS: Changing POWER/VS autostart deck?
Rene,
"the devil is in the detail" .. (Nay, I'm not referring to U!!!)
?
So 1=T....?
?
a)? My Broholmer Dog (Look it up!) is very sweet..
b) Thx for the input... Tomorrow I will try this...
?
Will be continued (fortunatly) ..
?
Regards,
?
Marcel?
|
Re: Shedlock DOS/VS: Changing POWER/VS autostart deck?
On Wed, Dec 27, 2023 at 07:29 AM, Doug Wegscheid wrote:
The VM I have installed is either the 1.2 or 1.3B3 six pack. New enough, or do I need to grab VM/CE?VM Sixpack 1.2 is fine. If you run DOS/VS native under Hercules, I see no problem using Michel Beaulieu system; use his disks and supervisor $$A$SUPT at IPL instead of $$A$SUP1, and you should be okay. :-) Cheers, Rene FERLAND, Montreal |
Re: Shedlock DOS/VS: Changing POWER/VS autostart deck?
On Wed, Dec 27, 2023 at 07:17 AM, Doug Wegscheid wrote:
Looking at GC33-5403-1 DOS/VS Power/VS Installation and Operations (Sept 74), there are probably a PSTART for the reader at 02C in the autostart deck on the Beaulieu system. How does a novice change the AUTOSTART deck?The AUTOSTART deck install job is on minidisk 191 of the DOSVS virtual machine, file POWER SYSIN. So to update it, I suggest you punch it to your host, update it on the host and then submit it to DOS/VS via the card reader of VM/370. I am not sure if running the job will scratch and replace the existing one. Cheers, Rene FERLAND, Montreal |
Shedlock DOS/VS: Changing POWER/VS autostart deck?
Looking at Professor Ferland's supervisor build from the Moshix M92 video, I see that there are additional unit record devices defined. I have a sockdev reader defined in my hercules config at x'02c', running the $$a$sup1 supervisor in the Shedlock 5 pack. Submitting a job to that reader does not seem to do anything, until I did a PSTART RDR,02C. If I IPL the Beaulieu system (using the $$a$supt supervisor), I can submit jobs to the reader at x'02c' just fine without manually issuing a PSTART. Looking at GC33-5403-1 DOS/VS Power/VS Installation and Operations (Sept 74), there are probably a PSTART for the reader at 02C in the autostart deck on the Beaulieu system. How does a novice change the AUTOSTART deck? |
Re: Shedlock DOS/VS: Compilers?
On Wed, Dec 27, 2023 at 07:03 AM, Doug Wegscheid wrote:
I thought I heard that RPG could be installed, as well as higher level compilers for the other languages.It's RPG I (not RPG II) which, from what I heard, is less interesting. I have the stuff to install it on Shedlock 5-pack. I will put a ZIP in the Files section. As for other languages, I heard Paul Edwards ported GCC on DOS/VS but I never tried to install it. Cheers, Rene FERLAND, Montreal |