All, sorry to chime in a little bit late.
The SYSMAC option allows you to specify where z390 is to look for macros. The SYSCPY option is used for copybooks. If you use the option on the command line, you'll need to specify the full set of directories on one go. However, if you use an options file, you can use the + prefix to specify a directory to be added to the current list of already specified directories. I use this option extensively. There is quirk, though. If you have macro files without extension, then they are usable only on Windows-based systems. The *ix based operating systems will fail the search for the macros in this specific case, because of the way that z390 defaults the file extension if none is provided. This is an open issue on the to-do list for development. Lacking time, unfortunately, I'm not coming around to fixing the code and testing the fix. I'm sorry about that. kind regards, Abe Kornelis z390 coordinator. ============== Op 12/05/2020 om 15:42 schreef Kerry Liles: > Thanks Dave - valuable insight. > > On Tue, 12 May 2020 at 04:24, Dave Wade <[email protected]> wrote: > >> Kerry, >> >> I tried it recently. I think the simple answer is you need to specify >> macro directories using the SYSMAC option. There are no defaults. >> I spent ages searching for a way to set up a search path that persists. >> There isn't one. >> >> Dave >> >>> -----Original Message----- >>> From: IBM Mainframe Assembler List <ASSEMBLER- >>> [email protected]> On Behalf Of Kerry Liles >>> Sent: 12 May 2020 00:59 >>> To: [email protected] >>> Subject: Re: Z390 Assembler Emulator >>> >>> Whatever the resolution is for using z390 ... perhaps it can be shared >> here for >>> the benefit of others. >>> Better still, put on a FAQ page somewhere as well. >>> >>> On Mon, 11 May 2020 at 18:18, MELVYN MALTZ < 0000072265160664-dmarc- >>> [email protected]> wrote: >>> >>>> Hi Frank, >>>> >>>> I'm one of the few z390 developers left >>>> >>>> Contact me directly here [email protected] >>>> >>>> z390 fully supports macro language, no special requirements It could >>>> be that your SYSMAC concat isn't correct >>>> >>>> Send me your BAT (renamed) and sample code and I'll sort out your >>>> problem I don't know Linux, but I know someone who does >>>> >>>> Melvyn Maltz. >>>> >>>> ----- Original Message ----- >>>> From: "Frank Myers" <[email protected]> >>>> To: <[email protected]> >>>> Sent: Monday, May 11, 2020 11:05 PM >>>> Subject: Z390 Assembler Emulator >>>> >>>> >>>>> Hi, >>>>> >>>>> I installed the z390 emulator and assembler on Linux. I tried to >>>>> assemble some of my code, but found that It was not recognizing my >>>>> Macros. I >>>> copied >>>>> them into the z390/mac directory, but still it does not find my >> Macros. >>>>> * Is there a required step to preprocess or register macros before >>>>> they can be used? Or do the macros need to adhere to a fixed record >>>>> length? Or perhaps only a subset of IBM Assembler Macro language is >>>>> supported? Or perhaps some other magic?* >>>>> >>>>> Thanks, in advance for any help or advise you can share. >>>>> >>>>> Frank
