Hi all
I have requirement where Iam geting Inrec file using JCL.
I want to check whether a particular fields is numeric or alphanumeric.
Say for example field in location 1-10, whether this is numeric or alphanumeric.
Is there any Numeric check in JCLs..?
Checking field is Numeric
- Frank Yaeger
- Global moderator
- Posts: 1079
- Joined: Sat Jun 09, 2007 8:44 pm
- Skillset: DFSORT, ICETOOL, ICEGENER
- Referer: Search
- Contact:
Re: Checking field is Numeric
You can use DFSORT's NUM function to check for numerics or non-numerics.
For more information, see:
http://publibz.boulder.ibm.com/cgi-bin/ ... 0615173822
For example:
If you want more specific help, you need to describe what you want to do in more detail.
For more information, see:
http://publibz.boulder.ibm.com/cgi-bin/ ... 0615173822
For example:
Code: Select all
OPTION COPY
INREC IFTHEN=(WHEN=(1,10,FS,EQ,NUM),BUILD=(...)),
IFTHEN=(WHEN=(1,10,FS,NE,NUM),BUILD=(...))
If you want more specific help, you need to describe what you want to do in more detail.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 1799
-
by sergeyken
View the latest post
Fri Mar 26, 2021 11:59 pm
-
-
Retain non numeric character in IFTHEN - BUILD
by Shambu » Wed Dec 01, 2021 5:00 pm » in Syncsort/Synctool - 1
- 1979
-
by sergeyken
View the latest post
Sat Dec 04, 2021 2:28 pm
-
-
- 2
- 1592
-
by sergeyken
View the latest post
Sun Jan 26, 2025 3:07 am
-
-
sort card to add zeros to varying alphanumeric field.
by longfall » Thu Mar 09, 2023 12:03 am » in DFSORT/ICETOOL/ICEGENER - 1
- 1835
-
by sergeyken
View the latest post
Thu Mar 09, 2023 2:04 am
-