Page 1 of 2

how can I create marcos library

PostPosted: Sat Mar 01, 2008 10:46 pm
by yurad
Hello!
I try to use macros stored in PDS. But, when I use //PDSDD DD DSN=my.pds... to refer to PDS with stored macro I receive an error:
*******B006 MACRO SYSTEM - PDS , ERROR IN MACRO FILE
I think I can't use any PDS for storing macro, the macros library should be somehow registered. But, how? Where?

Thanks in advance!

Re: how can I create marcos library

PostPosted: Sun Mar 02, 2008 12:18 am
by CICS Guy
What are the attributes of your PDS?

Re: how can I create marcos library

PostPosted: Sun Mar 02, 2008 4:51 am
by dick scherrer
Hello,

when I use //PDSDD DD DSN=my.pds... to refer to PDS with stored macro I receive an error:
How did you choose PDSDD for the ddname? On "this" system, we use PANDD. The dcb is blksize=3120 and lrecl=80.

It may help if you post your jcl and some of the ezt code.

Re: how can I create marcos library

PostPosted: Mon Mar 03, 2008 8:48 pm
by yurad
I tried PANDD
//PANDD DD DISP=SHR,DSN=WXPTOTS.SFTP.MACROS

WXPTOTS.SFTP.MACROS is reclen 80, blksize 3120

and I have the same :*******B006 MACRO SYSTEM - PDS , ERROR IN MACRO FILE
By the way I receive the same message with any DDNAME that I tried like //BLABLA , //PDSDD, //PANDD.
After I research documentation I think it should be some setting in The Options Table (EZTPOPT) that means I can't do it without administrator's authorities.

Re: how can I create marcos library

PostPosted: Wed Mar 05, 2008 2:35 am
by dick scherrer
Hello,

I think it should be some setting in The Options Table (EZTPOPT) that means I can't do it without administrator's authorities.
There is an assembly and a bit of smp/e work to install new options.

I believe the parameter you need to check is MACDDN (which is the Macro Librar DDName).

If you have read access (and i'm sure you do) to the library where ezt is executed, browse the EZTOPT module and you might be able to see the ddname in the module.

Re: how can I create marcos library

PostPosted: Wed Mar 05, 2008 5:20 am
by CICS Guy
The options table (EZTPOPT) provides the basic parameters that control
CA-Easytrieve/Plus operation. This appendix lists them in alphabetical order.
Space is provided for you to note the options which were selected at system
installation.
The PARM statement provides the ability to temporarily override some of your
system's standard options. The PARM statement and its parameters alter the
program environment only as long as the program is running. For more
information on customizing your program's environment, refer to the PARM
Statement in Chapter 4, “Environment Definition.”

MAC#LIB=n
Specifies the number of CA-Panvalet or CA-Librarian libraries to be searched if
the CA-Panvalet or CA-Librarian macro library support is used. The valid range
for this parameter is 1 to 9. No override is available.
This value is used as a suffix to the name specified by MACDDN. Thus, if:
MACDDN = PANDD
MAC#LIB = 2
In the JCL, two ddnames are:
PANDD1
PANDD2
Default - 1 Standard -

MACDDN=xxxxxxxx
Indicates the name used by the five standard CA-Easytrieve/Plus macro library
facilities to reference the desired macro library. Following is a description of how
each facility uses the option in a Macro Library.
CA-Panvalet or CA-Librarian
Defines the first five characters (usually PANDD) of the ddname used to
reference each CA-Panvalet library, or the first six characters (usually MASTER)
of the CA-Librarian ddname. In VSE, the library is also referenced through the
SYS number. See the MACSYS# parameter for details on accessing alternate VSE
library names.
PDS
(OS/390 only) defines the ddname used to reference the Partitioned Data Set
(PDS) to be used as a macro library. This parameter must be a valid ddname.
SSL
(VSE only) MACDDN is not used for the SSL macro facility. Use a LIBDEF
statement to define the source library to be searched for macro members.
VSAM
Defines the OS/390 ddname or VSE file-name used to reference the VSAM macro
library. This parameter must be a valid OS/390 ddname or VSE DLBL.
No override is available.
Default - PANDD Standard -

MACRO=xxxx
=(xxxx[,modname])
Specifies the type of macro library support. Valid values for xxxx are NO, LIBR,
PAN, PDS, SSL, VSAM, or USER. When the type is PAN, the optional modname
can be specified to identify the interface routine. For type USER, the modname
must be specified to identify the interface routine name.
When the type is SSL, the optional modname can be specified as the default
macro subtype. The default subtype for CA-Easytrieve/Plus SSL members is Z.
The subtype can be specified on the macro invocation statement. No other
override is available.
Default - (PAN,PANMODI) Standard -



It doesn't appear that any of these MAC options is alterable by the PARM override......
However, if you do as Dick recomends, you can see just how you might need to change you DD.....

Re: how can I create marcos library

PostPosted: Thu Mar 06, 2008 1:12 am
by yurad
I don't see in the output anything related to EZ library. :(

Re: how can I create marcos library

PostPosted: Thu Mar 06, 2008 1:18 am
by CICS Guy
yurad wrote:I don't see in the output anything related to EZ library. :(
What output? The EZTPOPT listing?

Re: how can I create marcos library

PostPosted: Thu Mar 06, 2008 11:46 pm
by yurad
in the whole job output. I checked in SDSF and don't see any clue about the library.

Re: how can I create marcos library

PostPosted: Tue Mar 11, 2008 8:12 am
by dick scherrer
Hello,

Please post all of the jcl for this execution. If your jcl invokes some standard PROCedure, please post that as well.