MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DMBATCH output

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Mon Feb 07, 2011 9:52 pm    Post subject: DMBATCH output Reply with quote

greetings.
I have a job that executes DMBATCH to select statistics - and the only 'where' is starttime, so the output file contains all statistics, i think.
the next step sorts the statistic file using

RECORD TYPE=V,LENGTH=4100
SORT FIELDS= (45,4,BI,A,9,8,BI,D)

The file has 30K+ records of dozens of different types and layouts.
on the CT record, the "9,8" could be timestamp, but i don't think a field starts at 45.
I read that sometimes the record layouts change, and i am wondering if that is the case here, and my sort is not doing what it is supposed to do.

Anyone have any idea what might be in those fields worth sorting ?
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Feb 08, 2011 12:39 am    Post subject: Reply with quote

What are the hex values (pos 9 for 8 and pos 45 for 4) in a few of these records?
_________________
All the best,

di
Back to top
View user's profile Send private message
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Tue Feb 08, 2011 12:57 pm    Post subject: Reply with quote

i am not exactly sure which position(s) to look at since the file is VBA.
but here is the first 60 bytes of 4 records from the sorted file:
thank you in advance for your interest and your help. cl
[code:1:a75186208c]
----+----1----+----2----+----3----+----4----+----5----+----6
VWO.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Feb 08, 2011 1:23 pm    Post subject: Reply with quote

Celeste Locklin,

what are the DMBATCH control cards used for generating the statistics?

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Tue Feb 08, 2011 2:15 pm    Post subject: Reply with quote

kolusu,
the date & time are updated every day on the select statement.
this is today's select statement:

SEL STAT WHERE(STARTT=(2011035,16:05:00)) FILE

(there are also signon and signoff, but they aren't pertinent are they?)
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Feb 08, 2011 3:50 pm    Post subject: Reply with quote

Is the data posted from the sorted or the unsorted file?

The 8-byte field appears to be the julian date and a timestamp. The 4-byte field Confused
As the 4-byte field is sorted first, it may be to gather/group the records by whatever . . .

Does this process now run differently than it did in the past?
_________________
All the best,

di
Back to top
View user's profile Send private message
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Tue Feb 08, 2011 4:42 pm    Post subject: Reply with quote

The record are from the sorted file. They are not consecutive, but they are in order (i.e. there are a lot of records between these records that are not shown).

Does (9,8 ) REALLY MEAN start at position 9 ? or do I need to add or subtract positions to accommodate the file being VBA?

If (9,8 ) really means 9,8, then the first record contains x
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Tue Feb 08, 2011 4:49 pm    Post subject: Reply with quote

Celeste Locklin wrote:

Does (9,8 ) REALLY MEAN start at position 9 ? or do I need to add or subtract positions to accommodate the file being VBA?

If (9,8 ) really means 9,8, then the first record contains x
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Tue Feb 08, 2011 5:25 pm    Post subject: Reply with quote

thank you kolusu, that explains that part.
Back to top
View user's profile Send private message
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Tue Feb 08, 2011 6:12 pm    Post subject: Reply with quote

AH I figured it OUT ! thanks to kolusu,
i have a layout for the CT record, and what is in col 40 is "procno"

on the CT record above, it contains '00001AE4' which, when converted to decimal, is 6884. which is the NDM process number ! ! ! !

Process Name => GFT10210 Start Time => 17:35:11
Process Num => 6884 Stop Time => 17:35:13
Comp Code => 00000000
Comp Msg => SCPA000I

etc,

so, the sort fields DO make sense now.
thanks again everyone ~ !!
Back to top
View user's profile Send private message
Celeste Locklin
Beginner


Joined: 04 May 2006
Posts: 26
Topics: 10
Location: USA

PostPosted: Tue Feb 08, 2011 6:15 pm    Post subject: Reply with quote

it sure would have been nice if the author had left a comment.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Tue Feb 08, 2011 11:01 pm    Post subject: Reply with quote

Perhaps you will - for the next lucky inheritor. . . Wink
_________________
All the best,

di
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group