Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us