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: 6967
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: 10256
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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