View previous topic :: View next topic |
Author |
Message |
Rama_Prayaga Beginner

Joined: 20 May 2003 Posts: 45 Topics: 15
|
Posted: Wed Nov 21, 2007 8:43 am Post subject: ISPF services in Batch rexx using LIBDEF |
|
|
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 |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Wed Nov 21, 2007 10:22 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Rama_Prayaga Beginner

Joined: 20 May 2003 Posts: 45 Topics: 15
|
Posted: Wed Nov 21, 2007 11:41 am Post subject: |
|
|
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 |
|
 |
|
|