How do I run an ISPSTART command under CA7 scheduler 
Author Message
 How do I run an ISPSTART command under CA7 scheduler

Hi all,

I am trying to run an ISPSTART CMD(command) in the CA7 scheduler. But
the JCL keeps abending with the following error

TSS7220E 102 J=PRM404WU A=CA7U VOL=MVSCTX ACC=UPDATE
DSN=SYS1.ICFMCAT.VMVSCTX
TSS7227E UPDATE Access Not Granted to Dataset SYS1.ICFMCAT.VMVSCTX
ACT002E    PRM404DP R070     IKJEFT1A 00:00:00.16  0990
:
:
.      Time                *** ISPF transaction log ***              
        U
.
.      15:57   Start of ISPF Log - - -  - Session # 1787
-----------------------
.      15:57      TSO     - Command  -  - DBXWORK
.      15:57   ***** Dialog Error ***** - Application(ISP); Function
Command (DBXWORK); Service(FTOPEN)
.      15:57      No work file          - Work file not open.
.SARPAGE 13
.IKJ56644I NO VALID TSO USERID, DEFAULT USER ATTRIBUTES USED
.READY
. ISPSTART CMD(DBXWORK)
.DSN SYSTEM(UDB4)
.RUN PROGRAM(DBXEDV01) PLAN(PRMPLAN) PARM('/ERRCOUNT(0)')
LIBRARY('UDB4.PRMVS.LOADLIB')
.ISPF system data set allocation error - press Enter to continue.
.Temporary control card data set cannot be allocated.
.DAIR RC = 12 dec, DARC = 970C hex.
.  ISPF102 No work file            -/-Work file not open.
.SARPAGE 14

I allocated all the necessary datasets for ISPF. Am I missing
something? I am able to run this JCL perfectly from my TSO ID but not
from the CA7 scheduler.

//WORKLIST EXEC PGM=IKJEFT1A,DYNAMNBR=40                      
//STEPLIB  DD DSN=&DB2..PRMVS.LOADLIB,DISP=SHR                
//         DD DSN=CEE.SCEERUN,DISP=SHR                        
//         DD DISP=SHR,DSN=&DB2L..SDSNLOAD                    
//         DD  DSN=&DB2L..SDSNLOAD,DISP=SHR                  
//SYSPROC  DD DSN=&HLQ..PRMVS.&DB2..CLIST,DISP=SHR            
//ISPLLIB  DD DSN=SYS1.LINKLIB,DISP=SHR                      
//ISPPLIB  DD DSN=ISP.SISPPENU,DISP=SHR                      
//ISPMLIB  DD DSN=ISP.SISPMENU,DISP=SHR                      
//ISPTLIB  DD DSN=ISP.SISPTENU,DISP=SHR                      
//*SKELETON MODIFIED TO SUPPORT PERSHING'S ENVIRONMENT.  THE  
//*THE SKELETON IS EDVCOPY.                                  
//ISPSLIB  DD DSN=&HLQ..&DB2..END.&TYPE..ISPSLIB,DISP=SHR    
//*        DD DSN=&DB2..PRMVS.ISPSLIB,DISP=SHR                
//ISPFILE  DD DSN=&ISPFILE,DISP=(NEW,DELETE),                
//             SPACE=(TRK,(360,160,400)),UNIT=SYSDA,          
//             DCB=(LRECL=80,BLKSIZE=6160,RECFM=FB)          
//JCLFILE  DD DSN=&HLQ..ENDV.JCL,DISP=SHR                    
//COPYFILE DD DSN=&HLQ..ENDV.&TYPE,DISP=SHR                  
//PROGFILE DD DSN=&HLQ..ENDV.COBPROG,DISP=SHR                
//DELFILE  DD DSN=&HLQ..ENDV.DELETE,DISP=SHR                  
//DBXPS01  DD DSN=&SORTWORK,DISP=SHR                          
//DBXPARM  DD DSN=&DB2..PRMVS.ISPPLIB(DBXPARM),DISP=SHR      
//ISPPROF  DD DSN=&HLQ..PRMVS.ISPPROF,DISP=SHR                
//ISPLOG   DD SYSOUT=*,                                      
//     DCB=(LRECL=121,BLKSIZE=1210,RECFM=FBA),UNIT=SYSDA  
//SYSTSPRT DD SYSOUT=*                                    
//SYSOUT   DD SYSOUT=*                                    
//SYSPRINT DD SYSOUT=*                                    
//SYSUDUMP DD SYSOUT=*                                    
//SYSTSIN  DD *                                            
    ISPSTART CMD(DBXWORK)                                  
/*                                                        
//SYSIN    DD DUMMY                                        
//ENDVPARM DD DSN=&HLQ..ENDEVOR.CONTROL(&TYPE),DISP=SHR    

Any help would be greatly appreciated as I am totally stumped by this
one.

Thanks,
Arun



Sat, 02 Jul 2005 18:29:30 GMT  
 How do I run an ISPSTART command under CA7 scheduler
Hi,

I am not sure that I can solve the problem as the only time I have
issued IPSTART is from within an online session whilst developing Dialog
Management stuff.

Looking at the message, it seems to me that an attempt is being made to
update the master catalogue i.e.

TSS7220E 102 J=PRM404WU A=CA7U VOL=MVSCTX ACC=UPDATE
DSN=SYS1.ICFMCAT.VMVSCTX TSS7227E UPDATE Access Not Granted to Dataset
SYS1.ICFMCAT.VMVSCTX ACT002E PRM404DP R070 IKJEFT1A 00:00:00.16 0990

This should not be happening as all JCL and TSO ALLOC statements should
be pointing to the correct user catalogues. One reason for this
situation to occur is if the data set PREFIX is not set. On most, but
not all installations, the PREFIX is set to the USERID, which brings us
to the second message:

IKJ56644I NO VALID TSO USERID, DEFAULT USER ATTRIBUTES USED

In the TSO online session the PREFIX and USERID will have been
established at logon time. The question is how are these assigned in
batch mode.

As I say not an answer, but hopefully a pointer.

Regards - Terry

--
posted via MFF :  http://www.MainFrameForum.com - USENET Gateway



Sat, 02 Jul 2005 19:45:33 GMT  
 How do I run an ISPSTART command under CA7 scheduler
Terry,

I had submitted another JCL which issues ISPSTART command, in CA7.
This job had run fine even though the same 'NO VALID USERID' message
was issued.

Could the problem have anything to do with the error message

IKJ56644I NO VALID TSO USERID, DEFAULT USER ATTRIBUTES USED
.READY
. ISPSTART CMD(DBXWORK)
.DSN SYSTEM(UDB4)
.RUN PROGRAM(DBXEDV01) PLAN(PRMPLAN) PARM('/ERRCOUNT(0)')
LIBRARY('UDB4.PRMVS.LOADLIB')
.ISPF system data set allocation error - press Enter to continue.
.Temporary control card data set cannot be allocated.
.DAIR RC = 12 dec, DARC = 970C hex.
.  ISPF102 No work file            -/-Work file not open.

Could it be that ISPFILE is not properly allocated, I tried to change
the tempfile &ISPFILE to a properly cataloged file, but am still
getting the same error even though the file is being allocated.

Thanks,
Arun



Sun, 03 Jul 2005 01:09:07 GMT  
 How do I run an ISPSTART command under CA7 scheduler


Quote:
>I am trying to run an ISPSTART CMD(command) in the CA7 scheduler.

This isn't a REXX issue; it is a TSO issue, and should have been
posted to the IBM-MAIN or TSO-REXX mailing list. It looks like you
need to issue a PROFILE PREFIX(userid) command before the ISPSTART,
where userid is the HLQ you want DB2 to use for work data sets.
Alternatively, there may be a DB2 parameter to tell it to use an HLQ
other than the TSO prefix, or DB2 may allow preallocation; you'd need
to check your DB2 documentation.

Quote:
>I am able to run this JCL perfectly from my TSO ID but not from the
>CA7 scheduler.

Can you get them to configure CA7 to submit the job under your userid?

--
     Shmuel (Seymour J.) Metz, SysProg and JOAT

Any unsolicited commercial junk E-mail will be subject to legal
action.  I reserve the right to publicly post or ridicule any
abusive E-mail.

I mangled my E-mail address to foil automated spammers; reply to
domain Patriot dot net user shmuel+news to contact me.  Do not



Sun, 03 Jul 2005 00:14:23 GMT  
 How do I run an ISPSTART command under CA7 scheduler

Quote:
>>>>>>>>>>>>>>>>>> Ursprngliche Nachricht <<<<<<<<<<<<<<<<<<


zum Thema How do I run an ISPSTART command under CA7 scheduler:

hi

Quote:
> Hi all,
> I am trying to run an ISPSTART CMD(command) in the CA7 scheduler. But
> the JCL keeps abending with the following error

<snip>

Quote:
> Any help would be greatly appreciated as I am totally stumped by this
> one.

The problem ist very simple, you have a security-manager like RACF
installed. And the sheduler ist running with one userid assigned to.
This user could not allocate files starting with his userid.

You have to preallocate the ISPLOG1 to ISPLOG4 Dataset's and ISPLST1
to ISPLST4 to some usefull temp datasetname disp=(new,delete,delete)
and your first command must be:

        PROFILE PREFIX NOPREFIX

that will run

have a nice day

Andreas



Sun, 03 Jul 2005 01:55:53 GMT  
 How do I run an ISPSTART command under CA7 scheduler
Quote:

>IKJ56644I NO VALID TSO USERID, DEFAULT USER ATTRIBUTES USED

>In the TSO online session the PREFIX and USERID will have been
>established at logon time. The question is how are these assigned in
>batch mode.

>As I say not an answer, but hopefully a pointer.

>Regards - Terry

In a mainframe system using ACF2, the "userid" of a batch job, is that
of the user
that submitted the job.

If a batch job was submitted by a "scheduling system" then the default
userid is either
a system default (created by the ACF2 installers) or is a "production
id" used to
identify "application systems" - again assigned by the ACF installers/
Sstem security folks.

I beleive that there are simular functionalities under RACF, but not sure.
(My employer was converting from ACF2 to RACF as I retired...)

/s/ Bill Turner, wb4alm



Mon, 04 Jul 2005 03:08:50 GMT  
 How do I run an ISPSTART command under CA7 scheduler

Quote:
> The problem ist very simple, you have a security-manager like RACF
> installed. And the sheduler ist running with one userid assigned to.

> This user could not allocate files starting with his userid.

> You have to preallocate the ISPLOG1 to ISPLOG4 Dataset's and ISPLST1

> to ISPLST4 to some usefull temp datasetname disp=(new,delete,delete)

> and your first command must be:

>    PROFILE PREFIX NOPREFIX

> that will run

It worked at last!!!!!!!!!!

You were right. CA7 due to security reasons doesn't have an alias in
our organization and hence was trying to update the system catalogs. I
tried the above suggested method of PROFILE PREFIX NOPREFIX, but the
program abended saying there was no prefix. So I tried the command
PROFILE PREFIX(TSOXXXX) where TSOXXXX is a generic alias (but not a
userid) provided to our project over which CA7 has update rights. The
program worked like a charm!!!

Thanks a lot you guys!

Arun



Tue, 05 Jul 2005 17:37:34 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. MVS / CA7 Structure CA7.SASJOB

2. MVS & CA7 Structure *.CA7.SASJOB

3. MVS & CA7 Structure *.CA7.SASJOB

4. Can't find package when run from scheduler

5. Running a PDF with The run command

6. Can CA7 scheduler submit a job in my ID?

7. MicroFocus running on Windows NT - Anyone doing this?

8. Doing run-time checks at compile-time

9. CA7 - Help needed

10. CA7 - Help needed

11. Doing assembly and really doing assembly

12. Doing assembly and really doing assembly

 

 
Powered by phpBB® Forum Software