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

Need Help on SORT


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
umakanth.ravirala

New User


Joined: 04 Sep 2007
Posts: 15
Location: Halifax, United Kingdom

PostPosted: Mon Feb 18, 2008 3:17 pm
Reply with quote

Hi


I want to sort out some records from a file, I have client id as key field.

Based on the following syntax, could you please give me the syntax for numeric fields?

(here I am mapping character fields )


SORT FIELDS=(16,8,PD,A)
OUTFIL FILES=02, INCLUDE= (10, 1, CH, EQ, C’N’)
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Feb 18, 2008 4:01 pm
Reply with quote

Ravi,

Quote:
could you please give me the syntax for numeric fields?

Quote:
SORT FIELDS=(16,8,PD,A)

Why do you think PD is not a numeric field?
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Tue Feb 26, 2008 10:41 pm
Reply with quote

Ravi,

Do you mean for the Include Statement?
If so, you can try coding the following:
Code:
INCLUDE=(10,1,CH,EQ,C'1')

or

INCLUDE=(10,1,ZD,EQ,1)
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Alternative of JoinKeys in SORT DFSORT/ICETOOL 2
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Simplify SORT CARD to combine INREC a... DFSORT/ICETOOL 6
No new posts Sort card to generate the DSN DFSORT/ICETOOL 17
Search our Forums:


Back to Top