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

Comparing CH with PD


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 316
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Tue Aug 12, 2014 1:10 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Aug 12, 2014 6:48 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Comparing Header and Trailer. DFSORT/ICETOOL 7
No new posts Comparing Signed Packed decimal and p... SYNCSORT 2
No new posts Comparing Comp-3 fields with greater ... DFSORT/ICETOOL 11
No new posts Comparing inside same file DFSORT/ICETOOL 2
No new posts Comparing two sequential files COBOL Programming 14
Search our Forums:

Back to Top