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: 2110
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

Senior Member


Joined: 14 Mar 2007
Posts: 10478
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
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 5 Fri May 18, 2018 2:08 pm
No new posts Rexx command to open an another text ... Bharath Vikraman PC Guides & IT News 7 Sat May 12, 2018 4:34 pm
This topic is locked: you cannot edit posts or make replies. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm

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