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

how i can give the value of packed decimal thru jcl?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Fri Jun 03, 2005 5:34 pm
Reply with quote

hi

when i am searching the data for a perticular packed decimal field say for example i want to know the how many records having the corp-id > 0
then how can i give in the sort
sort fields=copy
include cond=(1,5,pd,gt,x'???????')
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Fri Jun 03, 2005 8:06 pm
Reply with quote

DFSORT allows PD fields to be compared to decimal numbers (n, +n or -n). So your INCLUDE statement would look like this:

Code:

   INCLUDE COND=(1,5,PD,GT,+0)


For complete information on DFSORT's INCLUDE and OMIT statements, see "z/OS Application Programming Guide". Here's a link to that discussion:

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA10/3.7?DT=20050222160456
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
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
No new posts Need Help with Packed Decimal Signs DFSORT/ICETOOL 4
No new posts Select a DB2 value in a specific deci... DB2 4
Search our Forums:

Back to Top