Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Comparing CH with PD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ch v s s madhuri

New User


Joined: 07 Aug 2014
Posts: 2
Location: India

PostPosted: Tue Aug 12, 2014 12:12 pm    Post subject: Comparing CH with PD
Reply with quote

Hi
I have to compare date in PD format with date in CH format . How can I do this . I tried to compare them by converting both into ZD format and then comparing . But not able to get the correct result. Please help me.
Back to top
View user's profile Send private message

mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 289
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Tue Aug 12, 2014 1:10 pm    Post subject:
Reply with quote

Can you post what you have tried along with output from SYSOUT?
Back to top
View user's profile Send private message
ch v s s madhuri

New User


Joined: 07 Aug 2014
Posts: 2
Location: India

PostPosted: Tue Aug 12, 2014 5:53 pm    Post subject:
Reply with quote

Sorry for this question I got the required result . I copied fields in CH format and PD format into another file and there I compared those 2 fields directly using include cond. Thanks for your response.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Tue Aug 12, 2014 6:48 pm    Post subject: Reply to: Comparing CH with PD
Reply with quote

That sounds a long way round to do it. If you show what you've got, you may get suggestions for improvement.
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 -> 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 Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts To get Non matching row after compari... vinu78 DB2 7 Fri Jan 05, 2018 5:43 pm
No new posts Comparing dates in different formats migusd SYNCSORT 4 Sat Nov 18, 2017 3:02 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us