How to SAVE/PRINT SYSLOG to dataset?

八月 27, 2010 by 11 · Leave a Comment
Filed under: z/OS common maintenance 

1. Specify SYSLOG write outclass

CMD==/W L

2. Start write PROC

You should have a PROC like below, to write SYSLOG to dataset, usually in your site PROCLIB.

CMD==/S CPFSLOGW.stepname,,,L

//IEFPROC EXEC PGM=IASXWR00,PARM='PL'

//IEFRDER  DD  DSN=MIB.SYSLOG(+1),

//        DISP=(NEW,CATLG),UNIT=SYSDA,SPACE=(CYL,(90,80),RLSE),

//        DCB=(MIB.SYSLOG.DSCB,BUFNO=5,BUFL=4088)

3. Wait until this message pop up

IEF176I WTR L WAITING FOR WORK, CLASS=L, DEST=LOCAL

4.  Stop PROC

CMD==/P CPFSLOGW.stepname

After all, if you want to make this happen automatically, eg. run every week, you probably need to schedule 3 jobs for step 1&2&4 in sequence, with some workload automation tool such as CA ESP or IBM TWS or BMC Control-M.

VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
  • Share/Bookmark

Guess what is this?

八月 19, 2010 by 11 · 1 Comment
Filed under: 新品发布||New Product 

msm

VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
  • Share/Bookmark

LINKLST/LPA Considerations

八月 19, 2010 by 11 · Leave a Comment
Filed under: 系统维护||System Programming 

LINKLST/LPA Considerations

Only reentrant load modules can be executed from the LPA. Before copying a library’s contents to an LPA defined library or defining a library as an LPA library, inspect the members and move those that are non-reentrant to a LINKLST-defined library.

记住,放在LPA lib里面的module是要有RN标识的,因为他们是被所有Address Space共享使用的。

Reentrant load module means that it can be executed concurrently by several tasks but it cannot be temporarily modified. Then, each copy can be used by any number of tasks running in any number of CPUs in any number of address spaces at the same time.

To determine which members are non-reentrant, use the ISPF Browse facility and follow these steps:

1. Display an ISPF browse member selection list for the load library.

2. Issue the SORT ATTR command.

3. Scroll to the right to see the Attributes column.

Note: Most members show attributes of RN RU, for reentrant and reuseable.

4. Members showing spaces instead of RN are non-reentrant and cannot be moved into the LPA.

BROWSE            SYS1.NUCLEUS                              Row 00241 of 00575
Command ===>                                                  Scroll ===> CSR
Name     Prompt        Alias-of    ---- Attributes ----      SSI
_________ IXLINSIN                IXLI1MAN       RN RU                01113205
_________ IXLINSIP                IXLI1MAN       RN RU                01113205
_________ IXLI1MAN                               RN RU                01113205
_________ IEAVNPRR                                  RU                01117560
_________ IEAVNP16                                  RU                01110024
_________ IEAVTSAS                                  RU
_________ ISGNWMSI                                  RU                80570538
_________ AMDSADPL                                                    70675312

How to Determine LPA Load Module Storage Requirements

5. Issue the SORT RMODE command.

To determine the amount of storage required, follow one of these methods:

For 24-bit storage, add the hexadecimal value found in the Size field for all programs containing the value 24 in the RM (RMODE) field.

For 31-bit storage, add the hexadecimal value found in the Size field for all programs containing the value ANY in the RM (RMODE) field.

VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
  • Share/Bookmark

How to OFFLOAD JES2 spool?

SPOOL offload facility Spool is the primary medium for all JES2 data. All input jobs and system output (SYSOUT) are stored on the spool. JES2 gives your installation the capability to offload (transmit) data from the spool to a data set and later reload (receive) from the data set to the spool. The spool offload facility can use either tape or DASD as the offload medium. Spool offload eases the migration from release to release by lessening the impact of a cold start.

OFFLOAD SPOOL就是定期把某些特定种类的JOB的OUTPUT也就是SYSOUT保存到TAPE或DASD上,作为一种ARCHIVE的手段,比如一周执行一次把MSGCLASS=9的JOB OUTPUT全部写到TAPE上,然后删除在SPOOL上的记录,以维持SPOOL DS的合理使用,当然OFFLOAD到TAPE上,也有对应的还原手段,即LOAD回SPOOL,这里就不做介绍了。

1. Display and decide which OFFLOAD dataset to use

首先看看当前系统定义了那些OFFLOAD DS,这个一般是在JES2PARM里面定义的默认值

$D OFFLOAD

$HASP882 OFFLOAD1 211

$HASP882 OFFLOAD1  DSN=OSD.MIB.OFFLOAD3,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3490,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP882 OFFLOAD2 212

$HASP882 OFFLOAD2  DSN=BACKUP.TJES2SPL.DMPLOD2,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3490,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP882 OFFLOAD3 213

$HASP882 OFFLOAD3  DSN=BACKUP.TJES2SPL.DMPLOD3,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3490,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP882 OFFLOAD4 214

$HASP882 OFFLOAD4  DSN=BACKUP.TJES2SPL.DMPLOD4,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3490,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP882 OFFLOAD5 215

$HASP882 OFFLOAD5  DSN=BACKUP.TJES2SPL.DMPLOD5,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3490,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP882 OFFLOAD6 216

$HASP882 OFFLOAD6  DSN=OSD.MIB.OFFLOAD4,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3390,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP882 OFFLOAD7 217

$HASP882 OFFLOAD7  DSN=OSD.MIB.OFFLOAD4,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3390,1),VALIDATE=YES,

$HASP882           VOLS=255

2. Display its characteristics

然后选一个你想用的OFFLOAD,查看一下它的具体指标

$DU,OFFLOAD(n)

$DU,OFFLOAD6

$HASP882 OFFLOAD6 056

$HASP882 OFFLOAD6  DSN=OSD.MIB.OFFLOAD4,STATUS=DRAINED,

$HASP882           ARCHIVE=ONE,CRTIME=RESET,LABEL=SL,PROTECT=NO,

$HASP882           RETPD=30,TRACE=NO,UNIT=(3390,1),VALIDATE=YES,

$HASP882           VOLS=255

$HASP884 OFF6.JT 057

$HASP884 OFF6.JT  STATUS=STARTABLE,CLASS=,CREATOR=,DISP=DELETE,

$HASP884          HOLD=,JOBNAME=,LIMIT=(0,*),NOTIFY=NO,RANGE=(J1,

$HASP884          999999),ROUTECDE=(),START=YES,SCHENV=,

$HASP884          SRVCLASS=,SYSAFF=(NONE),VOLUME=(,,,),WS=(CL/)

$HASP886 OFF6.ST 058

$HASP886 OFF6.ST  STATUS=STARTABLE,CREATOR=,DISP=KEEP,

$HASP886          OUTDISP=(WRITE,HOLD),HOLD=,JOBNAME=,NOTIFY=NO,

$HASP886          RANGE=(J1,999999),ROUTECDE=(),START=YES,

$HASP886          VOLUME=(,,,),WS=(Q/),BURST=,FCB=,FLASH=,

$HASP886          FORMS=(,,,,,,,),LIMIT=(0,*),PLIM=(0,*),

$HASP886          PRMODE=(),QUEUE=8X,UCS=,WRITER=

$HASP883 OFF6.JR 059

$HASP883 OFF6.JR  STATUS=STARTABLE,CLASS=,CREATOR=,HOLD=,

$HASP883          JOBNAME=,MOD=(CLASS=,HOLD=,ROUTECDE=,SYSAFF=),

$HASP883          NOTIFY=NO,RANGE=(J1,2147483647),ROUTECDE=(),

$HASP883          SCHENV=,SRVCLASS=,START=YES,SYSAFF=(NONE),

$HASP883          WS=(CL/)

$HASP885 OFF6.SR 060

$HASP885 OFF6.SR  STATUS=STARTABLE,OUTDISP=(WRITE,HOLD,KEEP,

$HASP885          LEAVE),CREATOR=,HOLD=,JOBNAME=,MOD=(BURST=,

$HASP885          OUTDISP=,FCB=,FLASH=,FORMS=,HOLD=,PRMODE=,

$HASP885          QUEUE=,ROUTECDE=,UCS=,WRITER=),NOTIFY=NO,

$HASP885          RANGE=(J1,2147483647),ROUTECDE=(),START=YES,

$HASP885          WS=(Q,OUTD/),BURST=,FCB=,FLASH=,FORMS=(,,,,,,,

$HASP885          ),PRMODE=(),QUEUE=,UCS=,WRITER=

3. Modify OFFLOAD DSN and OUTDISP if neceseary

因为一般是OFFLOAD到TAPE上,如果你想改成DASD的话,需要修改UNIT,指定一下DSN,输出哪个CLASS的QUEUE,如果需要,OUTDISP也可以修改

$T OFFLOAD7,DSN=

$T OFF(n).ST,OUTDISP=

4. Start OFFLOAD

开始OFFLOAD

$S OFFLOAD7,TYPE=RECEIVE

5. Stop OFFLOAD and close offload data set

OFFLOAD结束

$P OFFLOAD7
VN:F [1.9.3_1094]
Rating: +1 (from 1 vote)
  • Share/Bookmark

z11 zEnterprise

七月 28, 2010 by 11 · 1 Comment
Filed under: 大机动态||Latest Mainframe 

z002

上周IBM发布了最近z11,跨时代的产品,也称作zEnterprise,代号196(Model 2817),1代表了是全新一代的大型机,96代表有96个引擎。为什么说是新一代呢,看到上边的图示了,在传统的大型机一旁,还有一个类似BC的机柜,这里面放的可是IBM其他系列的服务器,比如P系列的Blade,与大型机合起来组成的新型数据中心系统,据说可以共享整合很多资源,当然也会增大很多操作管理的复杂性吧,具体更多的信息可以参考这里

 

 

z003

VN:F [1.9.3_1094]
Rating: 0 (from 0 votes)
  • Share/Bookmark

  • 分类目录

  • 功能

  • 联络订阅

    google reader
    订阅到抓虾
    订阅到鲜果
    订阅到飞鸽
    bloglines
    my yahoo
    netvibes