Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IKJEFT01 err when trying to run OMVS cmds

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
ignich7

New User


Joined: 02 Nov 2005
Posts: 65

PostPosted: Sat Nov 15, 2008 3:45 am    Post subject: IKJEFT01 err when trying to run OMVS cmds
Reply with quote

When I submit this..

//STEP1 EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
ls /u/dir1/dir2
/*


I get..
COMMAND LS NOT FOUND

I am trying to execute ls OMVS commad to display directory.
I suspect the command ls automatically converted to uppercase. If so, please let me know how to avoid this case conversion.

Thanks in advance
Nich
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Nov 15, 2008 4:23 am    Post subject:
Reply with quote

Code:
//STEP1 EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
  oshell ls /u/dir1/dir2
/*
should work a bit better.
Back to top
View user's profile Send private message
ignich7

New User


Joined: 02 Nov 2005
Posts: 65

PostPosted: Mon Nov 17, 2008 11:54 pm    Post subject:
Reply with quote

No. I am getting same err :-(
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Nov 18, 2008 12:03 am    Post subject:
Reply with quote

I took a closer look at your JCL-- you're missing SYSPROC:
Code:
//STEP1 EXEC PGM=IKJEFT01
//SYSPRINT DD SYSOUT=*
//SYSPROC  DD DISP=SHR,DSN=SYS1.SBPXEXEC
//SYSTSPRT DD SYSOUT=*
//SYSTERM DD DUMMY
//SYSTSIN DD *
  oshell ls /u/dir1/dir2
/*
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Nov 18, 2008 12:08 am    Post subject:
Reply with quote

And, by the way, your original problem was that lt is NOT a TSO command -- and therefore cannot be found by TSO. Without the oshell in front of it, you're always going to get that error message because IKJEFT01 is the way to get into TSO from batch, not Unix System Services.

And oshell is found in SYS1.SBPXEXEC which is why you're going to have a problem unless you include this library in your JCL.
Back to top
View user's profile Send private message
ignich7

New User


Joined: 02 Nov 2005
Posts: 65

PostPosted: Tue Nov 18, 2008 12:20 am    Post subject:
Reply with quote

Thanks for your time and help.
Its Working now :-)

-Nich
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Nov 18, 2008 12:22 am    Post subject:
Reply with quote

Good to hear!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts Backup directory in USS (OMVS) autobox IBM Tools 3 Tue Jan 12, 2016 8:51 am
No new posts Error executing command TSO OMVS - Cr... sirbaros TSO/ISPF 5 Mon Oct 26, 2015 8:26 pm
No new posts Execution of REXX-DB2 in OMVS Reny S All Other Mainframe Topics 0 Thu Feb 26, 2015 2:42 pm
No new posts newlines removed when file is copied ... Leah Dela Cruz TSO/ISPF 1 Thu Jul 03, 2014 2:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us