how can I create marcos library



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

how can I create marcos library

Postby yurad » Sat Mar 01, 2008 10:46 pm

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!
yurad
 
Posts: 18
Joined: Thu Jan 31, 2008 7:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby CICS Guy » Sun Mar 02, 2008 12:18 am

What are the attributes of your PDS?
CICS Guy
 
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby dick scherrer » Sun Mar 02, 2008 4:51 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how can I create marcos library

Postby yurad » Mon Mar 03, 2008 8:48 pm

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.
yurad
 
Posts: 18
Joined: Thu Jan 31, 2008 7:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby dick scherrer » Wed Mar 05, 2008 2:35 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how can I create marcos library

Postby CICS Guy » Wed Mar 05, 2008 5:20 am

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.....
CICS Guy
 
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby yurad » Thu Mar 06, 2008 1:12 am

I don't see in the output anything related to EZ library. :(
yurad
 
Posts: 18
Joined: Thu Jan 31, 2008 7:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby CICS Guy » Thu Mar 06, 2008 1:18 am

yurad wrote:I don't see in the output anything related to EZ library. :(
What output? The EZTPOPT listing?
CICS Guy
 
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby yurad » Thu Mar 06, 2008 11:46 pm

in the whole job output. I checked in SDSF and don't see any clue about the library.
yurad
 
Posts: 18
Joined: Thu Jan 31, 2008 7:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how can I create marcos library

Postby dick scherrer » Tue Mar 11, 2008 8:12 am

Hello,

Please post all of the jcl for this execution. If your jcl invokes some standard PROCedure, please post that as well.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Next

Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post