MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Running Rexx through JCL

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Mon Feb 14, 2005 8:15 am    Post subject: Running Rexx through JCL Reply with quote

Hi,
I am using a JCL (IKJEFT01) to run one my Rexx routine.When I submit the job ,,job is saying it's waiting for the Dataset userid.ISPF.PROFILE.
I have used the disp parms as (old, pass).Agained modified it to shr in my next try.But still the job is not runnnig.

ISPPROF DD DISP=(OLD,PASS),DSN=USERID.ISPF.PROFILE

If i remove this ISPPROF ,,I AM GETTING AN ERROR 0998 SAYING
ISPI002 Following file could not be opened:
ISPPROF
Could any body tell me how can I execute the job through the JCL?

Thanks
Bprasanna
Back to top
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Mon Feb 14, 2005 8:20 am    Post subject: Reply with quote

Why not just allocate a new dataset for ISPPROF? The job should work if this PDS just exists with no members in it.
Back to top
View user's profile Send private message
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Tue Feb 15, 2005 2:00 am    Post subject: Reply with quote

Hi,
I tried to execute the job by allocating an empty data set with ISPPROF.But i got the below error .
READY
ISPSTART CMD(SPACER)
ISPV010 Profile not loaded -/-Profile table 'ISPSPROF' not read.Table service RC=8
READY
END

Then I copied all the members from userid.ISPF.PROFILE to new dataset and ran the job,,then I got another error

READY
ISPSTART CMD(SPACER)
ISPI021 Unrecoverable error in initialization of
command tables
ISPI022 ISPF cannot continue. ISPF abending.
ISPSTART ENDED DUE TO ERROR+
USER ABEND CODE 0999 REASON CODE 00000000

Is there somthing I am missing?

Thanks
Bprasanna
_________________
----------------
Thanks&Regards
Bprasanna
Back to top
View user's profile Send private message
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Tue Feb 15, 2005 9:54 am    Post subject: Reply with quote

If your copy of ISPPROF contains members ISPCMDS or ISRCMDS, delete them then retry.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Feb 15, 2005 1:10 pm    Post subject: Reply with quote

you are probably not allocating the system tables to ISPTLIB (and/or may be running a very old version of ISPF). look up BATCHPDF on google to get an exec that will create the JCL you need for you.
Back to top
View user's profile Send private message Visit poster's website
bprasanna
Beginner


Joined: 05 Sep 2003
Posts: 119
Topics: 33
Location: Hyderabad

PostPosted: Wed Feb 16, 2005 7:58 am    Post subject: Reply with quote

Mervyn and semigeezer,
Thank you very much!!!

I missed to mention some of the ISPTLIB files.

Thanks
Bprasanna
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group