DSID is assigned by JES.  It is the same number that appears in the
allocation messages for a data set assigned to SYSOUT (and DD *, for that
matter, which can also be displayed by SDSF).

I had this great explanation written up, but then I ran a test and I
refreshed my memory a few things.  I'm going to ass/u/me that you have INPUT
ON for this, and this is for JES2.  I'll let Ed Jaffe speak up on JES3.  :-)

DSIDs 1-6 are for the special data sets like JESJCL, JESMSG, etc.  Then
starting at 101, all the DD * and DD DATA data sets in the job stream are
assigned numbers in order as they are encountered in the JCL.  After that,
each SYSOUT= in the job stream gets the next one in sequence.  Then
dynamically allocated data sets get the next one in sequence.

I haven't played with OUTPUT statements in a long time, but it's possible
that use of OUTPUT=*.blah referbacks may cause this order to be modified.

There could be an old SORT command lurking, though.  Type SORT OFF and see
what happens.  Alternatively, if you have a lot of lines on your display,
issue a SET DISPLAY ON - that will display a line with current filter and
sort settings.  In my experience, the default order (i.e., non-sorted) is
the order in which the DD statements are in the job stream, followed by each
dynamically allocated SYSOUT in the order it was allocated.  I'm guessing
that it's following a chain of JOEs or something like that and returns them
in the order in which they are encountered.

I just did test SORT DSID and it works.  So maybe that's your problem.

On the ones without DDNAME and stepname information - it appears that those
are input data sets.  SDSF (and maybe JES) doesn't have the info for the
data set until the step starts executing.  I wonder if the blank ones are
steps that have been skipped by // IF.

Later,
Ray 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Gilmartin
Sent: Wednesday March 21 2007 07:25

When I enter an SDSF STatus display and select a job with the
"?" prefix command, data sets for that job seem to be displayed
sorted by DSID (is this the default, or did I override it at
some time in the past?  Is there any way to nullify a prior
explicit setting and return to the default.  I suppose I could
always delete my ISPPROF data set.)

What determines DSID?  It seems almost to increase monotonically
in chronological jobstep order, with a few very annoying
exceptions that appear at the very end of the list.  Is there
any way to sort by jobstep order?  (Note that this is not
sorting by StepName, since I rarely name my steps in alphabetical
order)

When I set INPUT ON, some data sets show no DDNAME or StepName.
In fact, those fields seem to be filled in only after a step has
run.  Of course, it would be useful to preview the input data
sets while the job is in the input queue, possibly held.  Is
there any way to force display of DDNAME and StepName for all
input data sets?  Is this deficiency worth a Requirement, or
will Shane just say it's pointless.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to