Keyboard Shortcuts
Likes
- H390-Vm
- Messages
Search
Re: IFOX00/ASSEMBLER Question
#VMCE
I believe that what Mark wanted to do with the F level assembler is perfectly valid. The issue he is seeing is that the F level assembler CMS interface routine, DMSASM, does not support this. Assembler H does?support exactly what he wants to do. Here is a console showing how Assembler H processing works: t bobmac maclib ( member bob ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? MEMBER BOB.... ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? BOB ? ? ?CSECT? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?DC ? ?C'HELLO ? '? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? END filedef? sysin disk bobmac maclib a ( member bob? perm recfm f lrecl 80 block 80? ?? asmahl bobmac produces: BOB TEXT and BOB LISTING? ? ?? The checks made in DMSASM (the F level assembler startup routine for VM/370) just did not take this type of call into account.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? |
Re: IFOX00/ASSEMBLER Question
#VMCE
¿ªÔÆÌåÓýMark, ? I don¡¯t think any one has ever used the assembler in this way (well I might have as I rebuilt it to incorporate some modifications, but I can¡¯t find the instructions) so its us that don¡¯t understand what you are trying to do. You sometimes need to spoon feed us¡.. ? The manual also says that the filename is a required parameter (no braces) so its needs ¡°something¡± in there¡¡ ¡ but whenever I do I get an error. ?I have fiddled for ages and can¡¯t for the life of me figure out how its supposed to work. Just for interest I tried it on SP5 and it¡¯s the same¡.. ? ? Dave ? ? From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 18 December 2021 01:56 To: [email protected] Subject: Re: [h390-vm] IFOX00/ASSEMBLER Question #VMCE ? On Thu, Dec 16, 2021 at 09:10 PM, Joe Monk wrote:
Ouch. It hurts when people you honor as experts, in the field talk down to you.
|
Re: WATFIV
¿ªÔÆÌåÓýMark, Its on the U disk as WATFIVUG LISTING. I believe that this is the same file:- ? ? .. I know Jay had issues with damage to the source so it might be slightly different. ? Dave ? From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 18 December 2021 01:31 To: [email protected] Subject: Re: [h390-vm] WATFIV ? On Fri, Dec 17, 2021 at 01:29 AM, Dave Wade wrote:
I don't think I have that manual, can you point me/us to a PDF, please and thank you. |
Re: WATFIV
¿ªÔÆÌåÓýDrew, ? Thanks for responding¡.. ? Well yes, that¡¯s what the module we have requires, which is why I thought we might be missing something as the documentation definitely says it should accept multiple files. I thought, ¡°CONCAT¡± but CONCAT does not work for sequential files. ?For FORTRAN I think that you should also be define FT05F001, FT05F002, FT05F003 but that does not seem to work either. I see that WATERLOO had an append mod to FILEDEF and perhaps they used that? ? ? ? so I think you could easily fix this on the LCM+L machine, but re-fitting the mods back to R6 might be a challenge¡. ¡. as far as I can see the only way to do this on VM/370R6 is to copy the files before running the compiler. ? Dave ? From: [email protected] <[email protected]> On Behalf Of Drew Derbyshire
Sent: 18 December 2021 01:07 To: [email protected] Subject: Re: [h390-vm] WATFIV ? The actual module just wants FT05F001 defined. It looks like to do multiple files, an exec would to iterate through them (if NOCONCAT) or concatenate them before the module ran (if CONCAT? specified.) I'll happily take a smarter REXX version for the LCM+L machine Y disk. -ahd- |
Re: IFOX00/ASSEMBLER Question
#VMCE
Now to the real heart of the problem... The modules in question should not be in a MACLIB. They should be independent modules... According to:?, the MACROs contained in the first file should be in a MACLIB. The files contained in the second DSN on the tape should all have a filetype of ASSEMBLE, which is the filetype that the ASSEMBLER expects for SYSIN...? Right? :) Joe On Fri, Dec 17, 2021 at 9:58 PM Joe Monk via <joemonk64=[email protected]> wrote:
|
Re: IFOX00/ASSEMBLER Question
#VMCE
Nobody was talking down to you, at least that was not my intent. If you took it that way, my bad. When I see a filetype of MACLIB, I dont think of assembler source programs, I think of assembler macros. Thus, to me, a MACLIB is where you put macros for the assembler. Joe On Fri, Dec 17, 2021 at 7:56 PM Mark A. Stevens via <marXtevens=[email protected]> wrote: On Thu, Dec 16, 2021 at 09:10 PM, Joe Monk wrote: |
Re: IFOX00/ASSEMBLER Question
#VMCE
On Fri, Dec 17, 2021 at 07:06 AM, Bernd Oppolzer wrote:
I only have a very old VM-370 distribution (from 2011 or so) and currently no planBernd, I will send you the MACLIB under separate cover. I will reiterate, the problem seems to be with the assembler, not the assembler programs in the MACLIB. ?... Mark S. |
Re: IFOX00/ASSEMBLER Question
#VMCE
On Fri, Dec 17, 2021 at 01:31 AM, Dave Wade wrote:
ASSIST does not use the ASSEMBLER. It is its own assemblerAgain, Ouch. Maybe I'm just being touchy today. Please read my response to Joe. ?... Mark S. |
Re: IFOX00/ASSEMBLER Question
#VMCE
On Thu, Dec 16, 2021 at 09:10 PM, Joe Monk wrote:
You dont assemble macros independently... When they are used in an assembler program, the assembler will bring in and interpret?the code as part of the assembly.Ouch. It hurts when people you honor as experts, in the field talk down to you. I studied Computer Science at Northern Illinois University where ASSIST was taught. I ported ASSIST from MVS to VM/SP4, VM/SP6, and ESA/370, and made those files available to the VM Workshop in the late 80s and early 90s. I was able to use Assembler H then, I'm trying to use IFOX00/ASSEMBLER F now. The code I am attempting assemble with the default Assembler for VM/370 CE, does not appear to accept/process the "FILEDEF ASSEMBLE", as I would expect, per the documented both online, and in the documentation,GC20-1818-3_IBM_Virtual_Machine_Facility_370_CMS_Command_and_Macro_Reference_Rel_6_PLC_17_Apr81.pdf, pages 23-28. Specifically page 27 Note 1.
|
Re: WATFIV
On Fri, Dec 17, 2021 at 01:29 AM, Dave Wade wrote:
I don't think I have that manual, can you point me/us to a PDF, please and thank you. ?... Mark S. |
Re: WATFIV
The actual module just wants FT05F001 defined. It looks like to do multiple files, an exec would to iterate through them (if NOCONCAT) or concatenate them before the module ran (if CONCAT? specified.) I'll happily take a smarter REXX version for the LCM+L machine Y disk. -ahd- |
Re: IFOX00/ASSEMBLER Question
#VMCE
¿ªÔÆÌåÓýHi Bob and Mark, normally, if a MACLIB contains only macros, there is no need to
compile them If I could look at the MACLIBs, I could probably help you in
deciding if there I only have a very old VM-370 distribution (from 2011 or so) and
currently no plan HTH, kind regards Bernd
Am 17.12.2021 um 13:14 schrieb Bob
Bolch:
|
Re: IFOX00/ASSEMBLER Question
#VMCE
Hi Mark, I do not see any way that the VM/370 CMS ASSEMBLE command can compile a member of a CMS MACLIB. I would have expected it to be possible, but the code and documentation say otherwise. Bob On Thu, Dec 16, 2021 at 9:50 PM Mark A. Stevens via <marXtevens=[email protected]> wrote: We don't seem to have all the pieces to ASSIST, so I am trying to fill in the gaps. I have two MACLIBS built and want to begin assembly to build a TXTLIB of the routines, but it seems I don't understand how to assemble a member of a MACLIB. |
Re: IFOX00/ASSEMBLER Question
#VMCE
¿ªÔÆÌåÓýASSIST does not use the ASSEMBLER. It is its own assembler ? Dave ? ? From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 17 December 2021 02:51 To: [email protected] Subject: [h390-vm] IFOX00/ASSEMBLER Question #VMCE ? We don't seem to have all the pieces to ASSIST, so I am trying to fill in the gaps. I have two MACLIBS built and want to begin assembly to build a TXTLIB of the routines, but it seems I don't understand how to assemble a member of a MACLIB. |
Re: WATFIV
¿ªÔÆÌåÓýMark, (and others) ? Sorry, I wasn¡¯t clear. ? My question is ¡°why does our WATFIV CMS command NOT accept multiple inputs as described in the user guide. ? From the user guide (page 12) :- ? ???? WATFIV fn-i ... (DIsk? Concat?? NODebug NOXtype Term?? NOStats) ????????????????????? Print NOConcat Debug?? XType?? NOTerm Stats ????????????????????? TYpe?????????????????? NOWarn ???????????????????????????????????????????? Ext ????????? The fn-i? (i=1,...) are? the input? filenames. They? must be ????????? names of disk files (of type? FORTRAN or WATFIV) or *, which ? So I am not proposing an extension but reporting a bug! ? Dave ? ? From: [email protected] <[email protected]> On Behalf Of Mark A. Stevens via groups.io
Sent: 17 December 2021 02:27 To: [email protected] Subject: Re: [h390-vm] WATFIV ? On Thu, Dec 16, 2021 at 06:12 PM, Dave Wade wrote:
The syntax for WATFIV job stream, one with multiple jobs/programs in one CMS file. |
Re: WATFIV
On Thu, Dec 16, 2021 at 06:49 PM, Jay Maynard wrote:
This looks like it was set up for a JES2 XBATCH initiator. The WATFIV module both compiles and executes Fortran programs, submitted as jobs in a "card" deck. That's the way I remember it from my university days. At the time, it was used in the engineering school as a tool to learn structured programming. The way I see it (kind of), WATFIV is to Fortran what ASSIST is to Assembler. There is a cataloged procedure for WATFIV on MVS and the WATFIV EXEC mainly reproduces it. I never saw WATFIV being used in "production" outside the academic world.
?
To answer Dave's question, I would not like the alternate syntax and I would stick to the original EXEC. In fact, remembering how I used WATFIV in my university days (that is to say in batch on MVS), I wrote myself a small EXEC which I placed on the CMSBATCH 192 minidisk, so I can submit WATFIV jobs to the CMSBATCH virtual machine, instead of running them interactive in CMS. Of course, this is just my personal taste. :-)
?
Cheers,
?
Rene FERLAND, Montreal |
Re: IFOX00/ASSEMBLER Question
#VMCE
You dont assemble macros independently... When they are used in an assembler program, the assembler will bring in and interpret?the code as part of the assembly. Joe On Thu, Dec 16, 2021 at 8:50 PM Mark A. Stevens via <marXtevens=[email protected]> wrote: We don't seem to have all the pieces to ASSIST, so I am trying to fill in the gaps. I have two MACLIBS built and want to begin assembly to build a TXTLIB of the routines, but it seems I don't understand how to assemble a member of a MACLIB. |
IFOX00/ASSEMBLER Question
#VMCE
We don't seem to have all the pieces to ASSIST, so I am trying to fill in the gaps. I have two MACLIBS built and want to begin assembly to build a TXTLIB of the routines, but it seems I don't understand how to assemble a member of a MACLIB.
L * MACLIB A XMACLIB? MACLIB?? A1 XMSOURCE MACLIB?? A1 Ready; T=0.01/0.01 01:35:40 MACLIB MAP XMSOURCE ( TERM MACRO??? INDEX? SIZE XXXXDECI???? 2??? 78 XXXXDECO??? 81??? 49 XXXXGET??? 131?? 145 XXXXOPEN?? 277?? 190 XXXXPNCH?? 468???? 3 XXXXPRNT?? 472???? 3 XXXXPUT??? 476???? 3 XXXXREAD?? 480???? 3 XXXXSNAP?? 484?? 303 Ready; T=0.01/0.01 01:36:00 I set up the FILEDEF, specifying one member, and attempt to assemble, but it complains the filename is missing. When I give it the member name, it's not happy about that. I chose to use the PERM option in case it wanted to throw away the FILEDEF too soon. FILEDEF ASSEMBLE DISK XMSOURCE MACLIB A1 (PERM MEMBER XXXXDECI Ready; T=0.01/0.01 01:37:21 ASSEMBLE NO FILENAME SPECIFIED. Ready(00024); T=0.01/0.01 01:37:29 Q FILEDEF ASSEMBLE DISK???? XMSOURCE MACLIB Ready; T=0.01/0.01 01:37:39 FILEDEF ASSEMBLE DISK XMSOURCE MACLIB A1 (PERM MEMBER XXXXDECI Ready; T=0.01/0.01 01:37:47 ASSEMBLE XXXXDECI FILEID CONFLICT FOR DDNAME 'ASSEMBLE'. Ready(00040); T=0.01/0.01 01:37:56 So what am I doing wrong? ?... Mark S. |
Re: WATFIV
This looks like it was set up for a JES2 XBATCH initiator. Jay Maynard 2021-12-17 02:27:05 +0000 Mark A. Stevens via <marXtevens@...> : On Thu, Dec 16, 2021 at 06:12 PM, Dave Wade wrote: |
Re: WATFIV
On Thu, Dec 16, 2021 at 06:12 PM, Dave Wade wrote:
The syntax for WATFIV job stream, one with multiple jobs/programs in one CMS file. Ready; T=0.08/0.11 02:22:53 watfiv hello Ready(00003); T=0.02/0.03 02:23:00 l hello * a ( date Filename Filetype Fm? Format??? Recs Blocks???? Date??? Time HELLO??? FORTRAN? A1? F??? 80??? 149???? 15? 12/17/21??? 2:16 HELLO??? LISTING? A1? F?? 133??? 206???? 35? 12/17/21??? 2:23 Ready; T=0.01/0.01 02:23:14 and I tested this and it works, is as follows. $JOB First Fortran program $ENTRY Data for first program $JOB Second Fortan program $ENTRY Data for second program $JOB .... and this continues until you run out of programs, and then you $STOP I Hope This Helps. ?... Mark S. |