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
 

 

Date and Time Display in SYNCSORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> SYNCSORT
View previous topic :: :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 129
Location: INDIA

PostPosted: Thu Jul 25, 2013 5:55 pm    Post subject: Date and Time Display in SYNCSORT
Reply with quote

Hi All ,

Code:
//SORT  EXEC PGM=SORT,REGION=5000K                     
//SYSPRINT DD  SYSOUT=*                                 
//SYSOUT   DD  SYSOUT=*                                 
//SORTIN   DD  DISP=SHR,DSN=SMF DATASET WITH TYPE 15 RECORDS
//SORTOUT  DD  DISP=(NEW,PASS),DSN=&&TEMP,             
//             SPACE=(CYL,(50,20),RLSE),DCB=*.SORTIN   
//SYSIN    DD   *                                       
   SORT FIELDS=COPY                                     
   INCLUDE COND=(6,1,BI,EQ,15,&,69,5,CH,EQ,             
                 C'WELLS')                             
/*                                                     
//JS020    EXEC PGM=ICETOOL                             
//TOOLMSG  DD SYSOUT=*                                 
//DFSMSG   DD SYSOUT=*                                 
//SMF15    DD DSN=&&TEMP,DISP=(OLD,DELETE,DELETE)       
//SMF15RPT DD SYSOUT=*                                 
//SYSOUT   DD SYSOUT=*                                 
//TOOLIN   DD *                                         
  DISPLAY FROM(SMF15) LIST(SMF15RPT) -                 
  TITLE('SMF TYPE-15 RECORDS') DATE(4MD/) -             
  HEADER('DATE') ON(11,4,DT1,E'9999/99/99') -           
  HEADER('CREATION TIME') ON(49,4,TM1,E'99:99:99') -   
  HEADER('SYS') ON(15,4,CH) -                           
  HEADER('JOBNAME') ON(19,8,CH) -                       
  HEADER('DATASETNAME') ON(69,44,CH)                   
/*                               


http://ibmmainframes.com/viewtopic.php?t=61181&postdays=0&postorder=asc&start=0
This is regardign one requirement which I have posted months back in forum and got good responses ..its about to fetch creation time of a datset from SMF record typ 15.. I got the above code by vasanthZ

Please refer the link I pasted if you need more details ..
Here my question is about the second step in above code
That code is intend to use DFSORT but I have limitations to use SYNCSORT only . Can some one please let me know how I would convert that above DFSORT to equavalent SYNCSORT code to achive the same results....

Thanks Much in Advance !!!
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1507
Location: Chennai

PostPosted: Thu Jul 25, 2013 6:59 pm    Post subject:
Reply with quote

Possible solution updated here
http://ibmmainframes.com/viewtopic.php?t=61181&start=15
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Jul 25, 2013 7:02 pm    Post subject:
Reply with quote

What limitations are imposed when you run the code 'as is' - in other words, do you get some error, what is it?
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2285
Location: @my desk

PostPosted: Thu Jul 25, 2013 7:04 pm    Post subject:
Reply with quote

What happened when you tried executing the above code?
Back to top
View user's profile Send private message
thesumitk

Active User


Joined: 24 May 2013
Posts: 129
Location: INDIA

PostPosted: Thu Jul 25, 2013 7:05 pm    Post subject:
Reply with quote

Thanks Vasanthz ..
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 -> SYNCSORT All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts DSNACCOX (can it be run on 1 db/ts, t... SRICOBSAS DB2 5 Sat May 06, 2017 12:59 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


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