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 

ISPF services in Batch rexx using LIBDEF

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


Joined: 20 May 2003
Posts: 45
Topics: 15

PostPosted: Wed Nov 21, 2007 8:43 am    Post subject: ISPF services in Batch rexx using LIBDEF Reply with quote

Hi ,

I am trying to do the following thing in batch mode in rexx program and I am getting the following issues.

In the following step i trying use TABLIB for accessing table

*-* "LIBDEF ISPTLIB DATASET ID('"TABLIB"')"
+++ RC(-3) +++
*-* "LIBDEF ISPTABL DATASET ID('"TABLIB"')"
+++ RC(-3) +++

Due to the above problem

i am not able to TBADD or TBOPEN the data table.

It works fine when i try to do Online.But I have to the same stuff in batch mode. But unable to do so.

Kindly, could anyone help me in the regard.

Thanks for you help in advance.


Rama
Back to top
View user's profile Send private message Yahoo Messenger
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Wed Nov 21, 2007 10:22 am    Post subject: Reply with quote

Two things:

1. It seems you failed to start ISPF in your batch job. Look into the ISPSTART command.

2. Normally, for batch processing, all of the required ISPF library allocations are handled in the JCL. You don't usually need LIBDEF statements.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Nov 21, 2007 10:36 am    Post subject: Reply with quote

Rama_Prayaga,

Read this topic and it will answer your queries

http://www.mvsforums.com/helpboards/viewtopic.php?t=5276

Hope this helps..

Cheers
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rama_Prayaga
Beginner


Joined: 20 May 2003
Posts: 45
Topics: 15

PostPosted: Wed Nov 21, 2007 11:41 am    Post subject: Reply with quote

Hi Kolusu,

Thanks a lot man.The problem got resolved .

But One thing I am still not clear I used ISPSSTART. Probably I was not using the right profile.

For three days this small thing beat hell out of me.

Thanks once again.

Regards,
Ramakrishna Prayaga
Back to top
View user's profile Send private message Yahoo Messenger
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