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
 

 

want to copy the records older than 180 days

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
kusmaravi

New User


Joined: 08 May 2010
Posts: 5
Location: hyderabad

PostPosted: Wed Oct 27, 2010 9:56 pm    Post subject: want to copy the records older than 180 days
Reply with quote

I want to copy the records from the file of 180days old by comparing a date field on position which is in the format of CYYMMDDS , cannot find sort operand of this particular format in PD, Y'date1' is only considering the ZD format, I want the sort operand which will consider the PD format.

In the PDO fromat it drops C and S still if some body suggests the sort operand which only considers the P(YYMMDD) is fine.
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Oct 27, 2010 10:29 pm    Post subject:
Reply with quote

It's not clear what your CYYMMDDS values look like. Please post some examples of these values in hex.

Also, give the starting position and length of the field.
Back to top
View user's profile Send private message
kusmaravi

New User


Joined: 08 May 2010
Posts: 5
Location: hyderabad

PostPosted: Thu Oct 28, 2010 8:44 am    Post subject:
Reply with quote

C stands for century 1>2000 0< 2000, and I want to compare from217 .

position Ex: c1100825. c stands for the sign and one stands for the century remaining yr,month, date.

ex: date1p gives yyyymmdd format in packed, I want for the cyyyymmdds format operand in packed
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 Oct 28, 2010 8:53 am    Post subject:
Reply with quote

Hello,

Quote:
It's not clear what your CYYMMDDS values look like. Please post some examples of these values in hex.

Also, give the starting position and length of the field.

Post some sample input records and the output you want from that sample input.
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 -> DFSORT/ICETOOL 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 HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 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 Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
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