IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Jobid through rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Fri Sep 12, 2008 1:39 pm
Reply with quote

Hi all,
can any one help me. how to retreive the job id automatically from the spool through rexx
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Sep 12, 2008 1:59 pm
Reply with quote

do you mean the JOBID of the job executing the rexx program?
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Fri Sep 12, 2008 2:03 pm
Reply with quote

No , i want the job id of all jobs that is present the spool.. not the current job submitted and also i want to know how many jobs are there in the spool for one owner
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Fri Sep 12, 2008 2:06 pm
Reply with quote

search for SDSF, you'll find how to invoke it from Rexx (or in batch).
Back to top
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Fri Sep 12, 2008 2:48 pm
Reply with quote

ya i found out, can you please tell me how to find the number of jobs
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Sep 12, 2008 9:59 pm
Reply with quote

Not sure this helps...

In SDSF, option H, the third line has something like
Code:
SDSF HELD OUTPUT DISPLAY ALL CLASSES LINES  648        LINE 1-3 (3)     

Where I think the number at the far right is the number of jobs displayed.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Sep 12, 2008 10:02 pm
Reply with quote

take a look at
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top