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

Syncsort to split the input file into 2 files


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subbu1522

New User


Joined: 11 Sep 2008
Posts: 29
Location: USA

PostPosted: Tue Nov 09, 2010 8:31 pm
Reply with quote

I have a condition to include below criteria

Code:

{(Company '5' other than policy state VA or TX) OR (Company S policies)} and effective date >= 10/15/2010)

Input file layout: 422 byte.

Company pos 58
State Pos 121-122
Effective date (format mmyydddd in pos 32-39).


Could you please help me to split the input file into 2 files.
Input file-1: include the above condition
Input file-2: remaining records from Input file-1.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Nov 09, 2010 10:09 pm
Reply with quote

Hello,

Which release of which sort product is used on the system?
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Thu Nov 11, 2010 3:14 pm
Reply with quote

Code:
mmyydddd
Is n't a strange date format?
Back to top
View user's profile Send private message
subbu1522

New User


Joined: 11 Sep 2008
Posts: 29
Location: USA

PostPosted: Thu Nov 11, 2010 7:44 pm
Reply with quote

Sorry it was my mistake. Date is in mmddyyyy format.

Code:
{(Company '5' other than policy state VA or TX) OR (Company S policies)} and effective date >= 10/15/2010)

Input file layout: 422 byte.

Company pos 58
State Pos 121-122
Effective date (format mmddyyyy in pos 32-39).
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top