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
 

 

Syncsort input file date format in DDMMYY

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Wed Jan 20, 2010 8:42 pm    Post subject: Syncsort input file date format in DDMMYY
Reply with quote

I need to compare the current date (the current date to be in DDMMYY) format aganist the file date format (DDMMYY ) format.
What should be the date operand to be used.

i tried with DATE1P & DATE1 but these are not in these in the DDMMYY format
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Thu Jan 21, 2010 5:27 am    Post subject:
Reply with quote

Hello,

After participating here for over 5 years, you might have noticed that in order to get help, you need to provide somethng useful to help you. . .

That you did not is most likely why there have been no replies. . .

Are you trying to use your sort product? If yes, which sort is used on your system? If no, which utility are you trying to use?

Show the actual inputs and the output you want when those inputs are processed. Mention the relevant data positions as well as the recfm and lrecl of the files.

Then maybe someone will have a suggestion.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Jan 21, 2010 6:21 am    Post subject:
Reply with quote

Hi Dick,


the subject has the sort product
Quote:
Post subject: Syncsort input file date format in DDMMYY



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

Site Director


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

PostPosted: Thu Jan 21, 2010 6:36 am    Post subject:
Reply with quote

Hi Gerry,

My Bad icon_redface.gif

Got caught up in the text and missed the subject (rather common for me as i don't read by subject<g>).

Siva,
Sorry about the redundant question. . .
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Jan 21, 2010 6:43 am    Post subject:
Reply with quote

Hi Dick,

I have to admit I'm guilty your honour icon_lol.gif as I have often missed things by reading the text and forgetting the subject.

Gerry
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jan 21, 2010 11:09 am    Post subject:
Reply with quote

Dick, Gerry,

don't feel bad. Most posters only seem to read the last response to their questions, ignoring the intervening posts.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Thu Jan 21, 2010 11:12 am    Post subject: Reply to: Syncsort input file date format in DDMMYY
Reply with quote

if the date format is the same and You need to test only for equality
a char comparison on the whole field might be enough without worrying about conversion issues
Back to top
View user's profile Send private message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Thu Jan 21, 2010 7:16 pm    Post subject:
Reply with quote

Excuse me for not giving proper details.... i posted the query again with all details
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


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