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
 

 

Numeric validation in Syncsort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
anaven1207

New User


Joined: 15 Jan 2008
Posts: 2
Location: India

PostPosted: Wed Jan 16, 2008 11:21 pm    Post subject: Numeric validation in Syncsort
Reply with quote

I'm creating a report using Syncsort (Release 1.2). My input is a
variable (LRECL 300-1982) VSAM file. I need to validate a PD field
that lies beyond 300. I'm unable to use IFTHEN.

Is there any way i could check if the field is:

valid numeric value -> write to the report
invaild value -> write zeroes to the report

My restriction is i must do this in SORT or any other utility, but not using a COBOL pgm.
Back to top
View user's profile Send private message

Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 500
Location: USA

PostPosted: Wed Jan 23, 2008 4:33 am    Post subject: Reply to: Numeric validation in Syncsort
Reply with quote

Quote:

I'm unable to use IFTHEN.

Please explain why you cannot use IFTHEN...
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am


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