Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SDSF commands to list the set of jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Tue Feb 16, 2010 7:59 pm    Post subject: SDSF commands to list the set of jobs
Reply with quote

Hi!
When I execute the below step, I get the jobs in the spool only which are under my id and not the entire spool jobs. why is that?
Code:

//STEP2   EXEC PGM=SDSF                           
//ISFOUT  DD DSN=OWNERID.ASCNF.ASDFG,       
//     UNIT=(SYSDA,25),SPACE=(CYL,(500,500),RLSE),
//     DCB=(RECFM=FB,LRECL=500,BLKSIZE=50000),   
//     DISP=(NEW,CATLG,CATLG)                     
//ISFIN   DD *                                   
ST                                               
OWNER *                                           
DA                                             
/*

The output comes like, as if i give owner <my owner id>
My User ID and TSO Prefix are the same.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 16, 2010 8:00 pm    Post subject:
Reply with quote

Have you tried to specify which prefix you want to look at
Back to top
View user's profile Send private message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Tue Feb 16, 2010 8:21 pm    Post subject: Reply to: SDSF commands to list the set of jobs
Reply with quote

It worked, Thanks Expat.
Where is
Code:
pre *
preferable, before
Code:
owner *
or after
Code:
owner *
?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 16, 2010 8:25 pm    Post subject:
Reply with quote

Where ever it works icon_biggrin.gif
Back to top
View user's profile Send private message
HameedAli

Active User


Joined: 16 Apr 2009
Posts: 151
Location: India

PostPosted: Tue Feb 16, 2010 9:24 pm    Post subject: Reply to: SDSF commands to list the set of jobs
Reply with quote

I'm facing another problem. In ISFOUT file, I see only 57 jobs out of the entire 318 jobs. Remaining are truncated, I believe, why is that?
Code:
SDSF DA 51@@  51@@     PAG    0  CPU/L    30/ 30       LINE 1-57 (318) 
COMMAND INPUT ===>                                            SCROLL ===
NP   JOBNAME  StepName ProcStep JobID    Owner    C Pos DP Real Paging 
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Feb 16, 2010 11:03 pm    Post subject:
Reply with quote

SDSF batch has a PARM where you can specify a logical "screen size".
Code:
//SDSF     EXEC PGM=SDSF,PARM='++120,121'  LENGTH=120, WIDTH=121         .             
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Feb 16, 2010 11:28 pm    Post subject:
Reply with quote

Or you could use the DOWN lines parameter
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Tue Feb 16, 2010 11:46 pm    Post subject: Reply to: SDSF commands to list the set of jobs
Reply with quote

If you need to process that list, and you are on z/OS 1.9 or later, have a look at the new rexx interfaces too. see the sdsf book(s)
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SDSF and SAF security danik56 TSO/ISPF 3 Wed Mar 15, 2017 12:51 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us