View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Mar 13, 2006 9:15 am Post subject: IKJEFT01 to search a PDS. |
|
|
Hi,
I am using the following job to search a pds. But, it is ending with return code of 12. Can you tell me why?
Code: |
//STEP01 EXEC PGM=IKJEFT01,REGION=2M
//SYSEXEC DD DSN=TXXXX.XXXXXS.XXP,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SEARCHDD(YES)
FIND 'XXXXXS'
|
Thanks. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Mar 13, 2006 9:22 am Post subject: |
|
|
mf_user,
Your job is excueting a REXX exec to perform the search. Check the PDS associated with sysexec DD statement.
Btw how do you think we would help you without any error messages or source code?
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Mar 13, 2006 9:26 am Post subject: |
|
|
It is not executing any REXX routine. The SYSTSPRT shown the below:
Code: |
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
READY
SEARCHDD(YES)
IKJ56621I INVALID COMMAND NAME SYNTAX
READY
FIND 'XXXXXS'
IKJ56641I FIND ENDED DUE TO ERROR+
IKJ56641I SYSTEM ABEND CODE 113 REASON CODE 0000002C
|
Thanks. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Mar 13, 2006 10:04 am Post subject: |
|
|
I'm not aware of a standard TSO command called "FIND". |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Mar 13, 2006 10:33 am Post subject: |
|
|
Thanks to you people. I was trying to pull rabbit out of a hat without knowing a magic. Kolusu was correct. It is executing a REXX. I got hold of correct JCL in our shop. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
Cogito-Ergo-Sum Advanced
Joined: 15 Dec 2002 Posts: 637 Topics: 43 Location: Bengaluru, INDIA
|
Posted: Wed Mar 15, 2006 5:37 am Post subject: |
|
|
But....
To search in a PDS, why not use ISRSUPSC? Or, did your correct JCL have ISRSUPC in it ? Quote: | I got hold of correct JCL in our shop. |
_________________ ALL opinions are welcome.
Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes. |
|
Back to top |
|
 |
|
|