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

How to validate a packed decimal field using SYNCSORT


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

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Mar 11, 2010 5:53 pm
Reply with quote

Hi - in a file if there is a packed decimal field containing incorrect data, how can we validate using SORT.

DFSORT has a facility to do that
Code:
 (p,m,FS,EQ,NUM)


is there a way to check using SYNCSORT?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Mar 11, 2010 7:42 pm
Reply with quote

SyncSort for z/OS 1.3 Programmer’s Guide wrote:
The NUM Subparameter
Use NUM to identify a field as numeric or non-numeric in CSF/FS, PD or ZD format. Specify NUM with the field (p,l), format (CSF/FS, PD or ZD) and comparison operators (EQ or NE)
Back to top
View user's profile Send private message
genesis786

Active User


Joined: 28 Sep 2005
Posts: 210
Location: St Katherine's Dock London

PostPosted: Thu Mar 11, 2010 8:05 pm
Reply with quote

Great Thanks.. icon_smile.gif
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 Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts Def PD not working for unsigned packe... JCL & VSAM 3
Search our Forums:

Back to Top