IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Easytrieve - how to get julian date from system through jcl


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivakumarel

New User


Joined: 12 Sep 2006
Posts: 1

PostPosted: Tue Sep 12, 2006 3:42 pm
Reply with quote

i want to get julian date from system and i have to subtract seven from that date. then have to perform some condition based on the date. so please kindly suggest me
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Sep 12, 2006 5:02 pm
Reply with quote

Just select your Language/Tool:
COBOL
REXX
DFSORT
Easytrieve
NATURAL
etc...

O.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu May 29, 2008 11:27 pm
Reply with quote

Hello,

I'd suggest you ask your peers or the system support people if there is a date conversion/arithmetic routine avaliable on your system. Most system have some standard routine(s) so that everyone does not have to RYO (Roll Your Own).
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Fri May 30, 2008 1:28 am
Reply with quote

Since this post is in CA Products, are you using Easytrieve Plus? If so you could use the DATECONV macro that comes with Easytrieve Plus to convert the current date from gregorian to julian. Or maybe DATECALC would fit your need.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts How to delete a user's alias from the... JCL & VSAM 11
Search our Forums:

Back to Top