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
 
Jobid through rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Jobid through rexx
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Fri Sep 12, 2008 9:59 pm    Post subject: Reply to: Jobid through rexx
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Fri Sep 12, 2008 10:02 pm    Post subject: Reply to: Jobid through rexx
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 9 Tue Sep 05, 2017 4:24 pm
No new posts How to Run Rexx Macro? Kalaivignesh CLIST & REXX 5 Fri Sep 01, 2017 9:08 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

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