STCKCONV Formats

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
vidifr
Member
Posts: 6
Joined: Wed Feb 11, 2009 8:23 pm

STCKCONV Formats

Post by vidifr » Wed May 13, 2009 7:33 pm

Dear Frank,
I need to format a SMF110 STCK field.
An example:
Input field contain: 0000000008FBE302
Output field should contain: 00.00.00.036798

I tried the following and obviously get a truncation:
OUTREC FIELDS=(PDRJOBNM,
.
.
.
PDRSUST-TIME,
PDRSUST-TIME,TC4,EDIT=(TT.TT.TT.TT))

Is it possible have the output in microsecs ?
TIA. Bye

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Wed May 13, 2009 7:42 pm

TC4 only gives the time value to hundredths of a second. DFSORT doesn't have any format that gives the time value to microseconds.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

vidifr
Member
Posts: 6
Joined: Wed Feb 11, 2009 8:23 pm

Post by vidifr » Wed May 13, 2009 8:19 pm

Frank Yaeger wrote:TC4 only gives the time value to hundredths of a second. DFSORT doesn't have any format that gives the time value to microseconds.
Any idea about a workaround ?

Bye

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Wed May 13, 2009 8:38 pm

Write a program or an exit?
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

vidifr
Member
Posts: 6
Joined: Wed Feb 11, 2009 8:23 pm

Post by vidifr » Wed May 13, 2009 8:50 pm

Frank Yaeger wrote:Write a program or an exit?
Because of a large amount of SMF data.
In this case is requested a big supplementary time only to scan/process SMF data for that field conversion.
Bye.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others