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 Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


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