Tuesday, January 31, 2012

LJOB command in CA7

        LJOB lists job information.  If you want to list a job record, enter LJOB,JOB=jobname,LIST=NODD.  NODD is one command to provide all of the following in a single display.

LJOB,JOB=Jobname
LJOB,JOB=Jobname,LIST=JOB 
LJOB,JOB=Jobname,LIST=SCHD
LJOB,JOB=Jobname,LIST=TRIG 
LJOB,JOB=Jobname,LIST=DEPJ 
LJOB,JOB=Jobname,LIST=RQJOB or RQMT
LJOB,JOB=Jobname,LIST=RQNWK
LJOB,JOB=Jobname,LIST=RQUSR

This section of the display is the CA-7 job definition.  The information includes System Name, Last Run Date and Time, Job set for exec on Main (N=NOEX), and Elaps Time (Wall time of the Job which is the average of the last 5 successful completions of the job).  This information can also be obtained using the LIST=JOB option.


JOB=SFSA005D, LIST=NODD                                                     DATE=97.114    PAGE 0001

A          B       C              D       E         F            G            H     I     J      K                      L
JOB          ----JCL----             SYSTEM    USR   MAIN    PROSE    SCHED  --NUMBER OF-     LAST-RUN  
NAME      ID  MEMBER         -NAME-     -ID       -ID-       DSNBR   DSNBR  STP DDS RUNS   DATE/TIME 
                                                                               
SFSA005D 000 SFSA005D     FSFSAMS   003      ALL    *NONE*   000051    005  041  0013      97112/1628 
                                    M
--------------------------- JOB INFORMATION ---------------------------  (LIST=JOB)
       N -- SCHD RESOLUTION REQUIRED      N -- LOAD STEP TO BE EXECUTED        
       N -- OVERRIDE OF JCL REQUIRED        Y -- JOB MARKED AS MAINT ONLY        
       N -- MANUAL VERIFICATION REQD        N -- JOB SET FOR HOLD IN REQQ        
       Y -- REQUIREMNTS TO BE LISTED         Y -- COMP TRIGGERS OTHER JOBS        
       Y -- AUTO-GENERATION OF 7 RMS        Y -- JOB ELIGIBLE FOR PROMPTS        
       Y -- ERRORS FOR RQMT NOT USED      Y -- JOB SET FOR EXEC ON MAIN        
       Y -- ERRORS FOR DSN NOT FOUND      N -- JCL TO BE KEPT IN PRRN/Q    
                                                                          
N         . OWNER= *NONE* JCLLIB=NUMERIC JCLID - ARFSET=*NONE*
O        . LAST MAINTENANCE ON 97.048 AT 08:12:00 VIA LOAD                       
P        . CLASS=S,MSGCLASS=W,REGION=0999K,PRTY=000,CPUTM=00008,ELAPTM=0004       
Q       . TAPE1: CALC=00,MANL=00,TAPE2: CALC=00,MANL=00                         
R       . JOBNET=DAILY                                                          
S       . DONT SCHEDULE BEFORE 95195 AT 1100                                    
T       . DONT SCHEDULE AFTER 99195 AT 1100                                    
U       . CONSIDER ABNORMAL END IF 0000 IS LT HIGHEST STEP COND-CODE            
V       . # OF TIMES LATE = 0009    # OF TIMES RESTARTED = 0003   

       ------------------------------ SCHEDULES ------------------------------  (LIST=SCHD)
                        CALENDAR SCAL97FI                                      
       ID=001   ROLL=D  INDEX=+000                                             
                DOTM=2230  LEADTM=0030  STARTM=2200                            
                WEEKLY    DAY=MON,TUE,WED,THU,FRI                              
                                                                                
--------------------------- TRIGGERED JOBS ----------------------------  (LIST=TRIG)
          JOB=SFSA407D SCHID=000      QTM=0010 LEADTM=0000 SUBMTM=0000         
                                                                                
 --------------------------- SUCCESSOR JOBS ---------------------------- (LIST=DEPJ)
          JOB=/TFSA005D SCHID=000                                              
          JOB=SFSA015D  SCHID=000                                               

 ---------------- REQUIREMENTS AND NETWORK CONNECTIONS ------------ (LIST=RQJOB) 
JOB=SACA030D        SCHID=000   VRSN=97099/1003   LEADTM=10             
JOB=/TFSA005D       SCHID=000   VRSN=97046/1709                          
JOB=SFSA032D        SCHID=000   VRSN=97046/1711   LEADTM=10 
           
 NWK=SXCV205D        SCHID=000   NWKSCHID=000      LEADTM=0005    (LIST=RQNWK) 

           NWNBR=NW000136  SUBID=BALANCE   DESC=SXCV205D     **  INPUT **      

DSN=IOCP00P.PB.SYSS.PROD.LOADLIB                       **** PERM DSN **** (LIST=RQMT)
           DSNBR=DS000002  SCHID=000   VRSN=97048/0812                         
           CREATED BY **NONE**                                                 
 DSN=IDCP00P.PO.DB81.CUSLIB                                    **** PERM TO JOB ****
           DSNBR=DS000512  SCHID=000   VRSN=97048/0812                         
           CREATED BY **NONE**                                                 
DSN=SFSA00P.PB.SFSA0052.CHGBCK.INV                                      
           DSNBR=DS001790  SCHID=000   VRSN=97048/0812                         
           CREATED BY SFSA005D                                                  
                                                                                
SLIA-00 REQUEST COMPLETED AT 13:23:39 ON 97.114                                
Item Description

     JOBNAME - the name of the job as defined in the database
     JCL ID - number assigned to the  library the JCL resides in
     JCL - Member is the JCL member this job will execute.
     SYSTEM NAME -  Name assigned to assist in categorizing the job
     USR ID  - Option not used , default is zeros.
     MAIN ID - ALL   This job can execute on any CPU
     PROSE MEMBER - Option not used, default is *NONE*
     SCHED DSNBR -  Number indicates this job is on a schedule.  *NONE* means this job is either triggered or demanded in for execution.
      NUMBER of STP - Indicates the number of job steps this job contains.
      NUMBER of DDs - Indicates the number of DD statements this job’s proc contains.
     NUMBER of RUNS - Indicates the number of Successfully completed runs of the job.
      LAST-RUN DATE/TIME indicates the last date and time this job successfully ran.
     JOB INFORMATION  values are either Y or N
1      SCHD RESOLUTION REQUIRED - A Schedule has been created and indicates the need to be resolved.  Information is obtained from the SCHD screen when a schedule is built.
2      OVERRIDE OF JCL REQUIRED - Indicates if a job needs to have overrides in the JCL
3      MANUAL VERIFICATION REQUIRED - Job screen indicates VERIFY=Y . Job will be HELD in the Request Queue and needs to be manually posted
4      REQUIREMENTS TO BE LISTED - Identifies requirements messages to be logged
5      AUTO-GENERATION OF 7 RMS - Job screen indicates RMS=Y or N.  Determines if CA-11 Restart  interface is to be used.
6      ERRORS FOR RQMT NOT USED - Identifies requirements messages to be logged
7      ERRORS FOR DSN NOT FOUND - Identifies requirements messages to be logged
8      LOAD STEP TO BE EXECUTED - Identifies if the LOAD proc is to run to LOAD job information.
9      JOB MARKED AS MAINT ONLY - Indicates if the DSN requirements will be ignored
10    JOB SET FOR HOLD IN REQQ  - Job will be HELD in the Request Queue and needs to be manually posted.
11    COMP TRIGGERS OTHER JOBS - Indicates if this job will trigger another job.  Information is obtained from the JOB Trigger Screen when a trigger is added.
12    JOB ELIGIBLE FOR PROMPTS - Indicates if message prompts will be issued if a job is LATE.  Message goes to the log.
13    JOB SET FOR EXEC ON MAIN - Indicates if the job is executable on the HOST
14    JOB TO BE KEPT IN PRRN/Q - Indicates if the JCL is to be kept in the Prior Run Queue with the job information.

     OWNER = *NONE*  - JCLLIB=NUMERIC JCLID - ARFSET=*NONE*  These fields are not defined.
     LAST MAINTENANCE ON yy.ddd AT hh:mm:ss 
     CLASS= CA-7 job class defined to the job. Used for Workload Balancing.
MSGCLASS= MVS Message class assigned to the job.  Obtained from the JOB card via a LOAD
REGION= Amount of Region space needed for the job.  Obtained from the Job JCL via a LOAD
PRTY= CA-7 priority defined to the job.  Used for Workload Balancing
CPUTM= System Cycles in time. Value here indicates the average of the last 5 successful runs of the job.
ELAPTM= Wall time. Value here indicates the average of the last 5 successful runs of the job.
    TAPE1: 
1      CAL= Number of tape drives needed for this job. Obtained from  Job JCL via a LOAD. Used for Workload Balancing.
2      MANL= Number of tape drives needed for this job. Manual override to the CAL field. Used for Workload    Balancing.
TAPE2:     
3      CAL= Number of tape drives needed for this job. Obtained from  Job JCL via a LOAD. Used for Workload Balancing. 
4      MANL= Number of tape drives needed for this job. Manual override to the CAL field. Used for Workload Balancing.
     JOBNET - Name assigned to assist in categorizing the job
     DONT SCHEDULE BEFORE - yyddd AT hhmm  Indicates this job is not to be scheduled before the date/time specified
DONT SCHEDULE AFTER  - yyddd AT hhmm  Indicates this job is not to be scheduled after the date/time specified
CONSIDER ABNORMAL END IF nnnn IS cc HIGHEST STEP COND-CODE Indicates the JOB level condition code used to determine if a job executes successfully or not.
     # OF TIMES LATE = nnnn - # OF TIMES RESTARTED = nnnn

Thursday, January 26, 2012

CA7 FORECAST COMMANDS

Forecast commands are used as a means of projecting scheduled workloads for a given period of time.

FORECAST INTERVALS

FROM=(mmddyy,hhmm),TO=(mmddyy,hhmm)
,SPAN=hhhh
mm = month (01-12)
dd = day (01-31)
                                  (If year is omitted current year is assumed)
hh = hour (00-23)
mm = minutes (1-8784)
FSTRUC Command  - Used to list a scheduled job flow structure
FSTRUC,SCHID=nnn,JOB=jobname
nnn = schedule id number
FJOB Command - Used to forecast the scheduled job within a time range
FJOB,FROM=(mmddyy,hhmm),TO=(mmddyy,hhmm),JOB=jobname
FJOB,FROM=(mmddyy,hhmm),SPAN=hhhh,JOB=jobname
FRJOB Command - Used to forecast the job within a time range in Reverse
FRJOB,FROM=(mmddyy,hhmm), TO=(mmddyy,hhmm),JOB=jobname
FRJOB,FROM=(mmddyy,hhmm),SPAN=hhhh,JOB=jobname
FRQJOB Command - Used to forecast the job in the READY Queue in a Reverse format
FRQJOB,JOB=jobname,SCHID=nnn - Reverse forecast of a job

Tuesday, January 24, 2012

CA7 LIST COMMANDS



List commands are used as a means of retrieving information from the CA-7 database either online or in batch.

LJOB Command - Used to list job information

LJOB,LIST=JOB,JOB=jobname 
- List job information
LJOB,LIST=TRIG,JOB=jobname
- List job triggers
LJOB,LIST=RQMT,JOB=jobname
- List job /dsn predecessors
LJOB,LIST=DEPJ,JOB=jobname
- List job successors
LJOB,LIST=RQJOB,JOB=jobname
- List job  predecessors
LJOB,LIST=SCHD,JOB=jobname
- List job schedules
LJOB,LIST=NODD,JOB=jobname

- List all the above
LJCL Command - Used to list job JCL


LJCL,JOB=jobname


LSCHD Command - Used to list job schedule information


LSCHD,LIST=SCHD,JOB=jobname
- List the job schedule
LSCHD,LIST=SIDnnn,,JOB=jobname
- List month by month the job schedule by a specific schedule id
LSCHD,LIST=BYSID,JOB=jobname
- List month by month the job schedule by all ids

LNTWK Command - Used to list network information


LNTWK,LIST=ALL,NW=network name
Lists all the network information
LPRE,ST=LATE  or *,SEQ=DOTM
 List Input Network Information by Due-out Time


List job status Commands

LPRRN,JOB=jobname - List last run job information
LRLOG,DATE=*yyddd - List Run Log information



Monday, January 23, 2012

Immediate openings for CA7

Hi,

Presently we have immediate openings for HTC Global

Skills:CA7
Secondary:JCL IMS
Exp:6months to 2yrs
Location: Chennai

If your profile suitable for our requirement please send me your updated profile with the below said details

Over all exp:
Rel exp:
CCTC:
ECTC:
Notice Period:

contact:

Sangeetha.
www.htcinc.com

Saturday, January 21, 2012

FREEZING THE PACKAGE PRIOR TO PRODUCTION


·         Enter ‘2’ from the ChangeMan main menu and press Enter

---------------- CHANGE MAN 4.1.6 PRIMARY OPTION MENU ---------- INIT Complete
OPTION  ===> 2                                                                
                                                                             
  1  Build    - Create, update and review package data                       
  2  Freeze   - Freeze or unfreeze a package                                 
  3  Promote  - Promote or demote a package                                  
  4  Approve  - Approve or reject a package                                  
  5  List     - Display (to process) package list                            
  D  Delete   - Delete or undelete a package                                 
  L  Log      - Browse the activity log                                      
  O  OFMlist  - Online Forms package list                                     
  Q  Query    - Query packages, components and relationships                 
  R  Revert   - Revert a package to DEV status                               
  T  Tutorial - Display information about Change Man                         
  X  Exit     - Exit Change Man                                              
                                                                             
Press ENTER to process; enter END command to exit.                           
                                                                              

                                                                             
 F1=HELP      F2=SPLIT     F3=END       F4=RETURN    F5=RFIND     F6=RCHANGE 
 F7=UP        F8=DOWN      F9=SWAP     F10=LEFT     F11=RIGHT    F12=RETRIEVE

·         Choose either '1' or '2' to freeze a package online or through batch.

-------------------------------- FREEZE OPTIONS -------------------------------
OPTION ===> 1                                                                  
                                                                              
PACKAGE ID ===> QCIS000767                                                    
                                                                              
  1  Online    -  Freeze package online                                       
  2  Batch     -  Freeze package in batch                                     
  3  Selective -  Selectively unfreeze/refreeze package components            
  4  Reset     -  Reset indicator after unsuccessful batch freeze             
                                                                              
     Automatic promotion after freeze ===> NO  (Y/N)                          
     Online or batch promotion        ===> B   (O-Online, B-Batch)            
                                                                              
Press ENTER to process; Enter END command to exit.                            
                                                                               

                                                                              
                                                                              
 F1=HELP      F2=SPLIT     F3=END       F4=RETURN    F5=RFIND     F6=RCHANGE  
 F7=UP        F8=DOWN      F9=SWAP     F10=LEFT     F11=RIGHT    F12=RETRIEVE 

·         Inform application project leader of the frozen package
·         Request the application project leader to approve the production implementation

Thursday, January 19, 2012

PROMOTING PACKAGE COMPONENTS TO PRODUCTION


·         Enter ‘7’ from the Build Options menu and press Enter to run the package
   audit

-------------------------------- BUILD OPTIONS --------------------------------
OPTION  ===> 7                                                                 
                                                                               
  0  Dates     - Display the installation calendar                            
  1  Create    - Create a new package                                         
  2  Update    - Update package information                                    
  3  Custom    - Create, update, approve,submit or review online forms        
  4  Utility   - Rename and Scratch information                               
  5  Checkout  - Check out components from baseline or promotion               
  6  Stage     - Stage, edit, browse and delete components                    
  7  Audit     - Audit a package                                              
  8  Recompile - Recompile source code from baseline or promotion             
  9  Relink    - Relink load modules                                          
  B  Browse    - Browse\print\copy baseline or promotion                      
  C  Compare   - Compare staging to baseline or promotion                     
  L  Listing   - Browse compressed listings                                   
  S  Scan      - Scan baseline for character strings                          
  Z  Compress  - Compress change package Staging Libraries                    
                                                                               
Press ENTER to process; Enter END command to exit.                            
                                                                              
                                                                               
 F1=HELP      F2=SPLIT     F3=END       F4=RETURN    F5=RFIND     F6=RCHANGE  
 F7=UP        F8=DOWN      F9=SWAP     F10=LEFT     F11=RIGHT    F12=RETRIEVE 



·         Enter audit and job information and press Enter

PACKAGE ID                    – Name of the package
AUDIT STAGING LIBRARIES ONLY  – Yes/No to audit only staging
AUTO RESOLVE OF OUT-OF-SYNCHS – Yes/No to automatically resolve 
                                out-of-synchs
CROSS APPLICATION AUDIT       - Yes/No if the package is cross
                                application

·         Verify the audit ran successfully
·         Verify the components within the audit

----------------------------- AUDIT CHANGE PACKAGE ----------------------------
COMMAND ===>                                                                  
                                                                               
PACKAGE ID                     ===> QCIS000767                                
AUDIT STAGING LIBRARIES ONLY   ===> NO           (Y/N)                        
AUTO RESOLVE OF OUT-OF-SYNCHS  ===> NO           (Y/N)                        
CROSS APPLICATION AUDIT        ===> NO           (Y/N) - (Simple package only)
                                                                              
JOB STATEMENT INFORMATION:                                                     
===> //SP6C870  JOB (173500005),'CHANGE MAN',
===> //             CLASS=B,MSGCLASS=O,MSGLEVEL=(1,1),
===> //             NOTIFY=SP6C870
===> //*
                                                                     
Press ENTER to process; Enter END command to exit.                             
                                                                              

                                                                              
 F1=HELP      F2=SPLIT     F3=END       F4=RETURN    F5=RFIND     F6=RCHANGE  
 F7=UP        F8=DOWN      F9=SWAP     F10=LEFT     F11=RIGHT    F12=RETRIEVE