IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Executing CA7 commands in batch mode


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jagadeeshkumar

New User


Joined: 17 May 2007
Posts: 11
Location: Chennai, India

PostPosted: Thu Jun 14, 2007 6:54 pm
Reply with quote

Hi Everyone,

I am trying to execute a CA7 command thru the following JCL

//STEP1 EXEC CA7BTI
//**********************************************
//*THIS BTI TRACJS CRITICAL CORPFIN JOBS
//**********************************************
//ERRORS DD SYSOUT=R,DCB=BLKSIZE=133
//SYSPRINT DD SYSOUT=R,DCB=BLKSIZE=133
//SYSUDUMP DD SYSOUT=R
//SYSIN DD *
/LOGON
LQ,ST=RSTR
/LOGOFF
/*


I am getting S913 abend when I submit the above job. I am not authorized for the UCC7CMDS dataset accessed by the SASSBSTR program. The following error message is shown

"An OPEN for DDNAME UCC7CMDS was issued for a RACF-protected
data set on a DASD volume or a RACF-protected tape volume to
which the caller was not authorized."

It is not possible to get the authority for this dataset. Is there any alternate way of doing this??
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 14, 2007 7:10 pm
Reply with quote

Hello,

You need to talk with your security people and/or scheduling people to get permission.

At many locations, the scheduling system has restricted access.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 14, 2007 7:26 pm
Reply with quote

Hello and welcome to the forums (just noticed this was also your first post),

Sorry - i mis-read your post icon_redface.gif

If the dataset(s) are restricted, i believe you don't have another way.

You might ask the scheduling people to run this for you. . . .
Back to top
View user's profile Send private message
jagadeeshkumar

New User


Joined: 17 May 2007
Posts: 11
Location: Chennai, India

PostPosted: Thu Jun 14, 2007 7:53 pm
Reply with quote

Thanks Dick,

I just thought , if the contents of this dataset are something specific to CA7 commands, I can create my own dataset and use.

If somebody can access this dataset, can you check the contents of this??

Dick,

If they are specific to each command, can I try creating a new dataset by copying the information related to only one command. I will then override the dataset using the JCL below.

//STEP EXEC CA7BTI
//UCC7CMDS DD DSN=<<my dsname>>,disp=shr

Is there any chance for this to work?? icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jun 14, 2007 10:12 pm
Reply with quote

Hello,

Quote:
Is there any chance for this to work??


It might if that is the only file that you do not have permission to read. . .

Probably worth a try (as long as your site does not have penalties for security abends) icon_smile.gif
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Jun 21, 2007 3:00 pm
Reply with quote

use this.



//@COPYFL JOB DD8W1,'CA7 IN BATCH',MSGCLASS=W,MSGLEVEL=1,
// NOTIFY=&SYSUID,TIME=0002
//STEP1 EXEC UCC7BTRM
//**********************************************
//*TEST JOB THAT RUNS CA7 COMAND IN BATCH
//**********************************************
//ERRORS DD SYSOUT=*,DCB=BLKSIZE=133
//SYSPRINT DD SYSOUT=*,DCB=BLKSIZE=133
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
/LOGON
LJOB,LIST=TRIG,JOB=CH*
/LOGOFF
/*
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts HILITE on Browse mode? TSO/ISPF 2
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top