DEFINE DATA LOCAL
1 #CURRENT-ASSET-HOLDING (A11)
1 REDEFINE #CURRENT-ASSET-HOLDING
2 #T-ENT (A3)
2 #CURRENT-HOLDING (A1)
2 #T-ASS (A7)
2 REDEFINE #T-ASS
3 #T-ASS-N (N7)
END-DEFINE
IF #T-ASS = MASK(NNNNNNN)
what is the meaning of IF #T-ASS = MASK(NNNNNNN) statement ? Can anyone explain me ?
Meaning of MASK(NNNNNNN) statement?
-
- Posts: 90
- Joined: Sun Mar 14, 2010 5:12 pm
- Skillset: Natural,Adabas,jcl
- Referer: friend
- RGZbrog
- Posts: 101
- Joined: Mon Nov 23, 2009 1:34 pm
- Skillset: Natural, Adabas, Predict, Natural Security, Construct, EntireX, SPoD, NaturalONE
- Referer: SAG Developer Forum
- Location: California, USA
- Contact:
Re: Meaning of MASK(NNNNNNN) statement?
MASK is used in a logical condition to test the contents of specific bytes of an alpha variable. Each N in the mask checks the corresponding byte position for a Numeric value. So, the IF statement is asking "Does #T-ASS contain 7 numeric digits?"
A complete description is provided here: http://documentation.softwareag.com/nat ... ASK_Option
A complete description is provided here: http://documentation.softwareag.com/nat ... ASK_Option
-
- Similar Topics
- Replies
- Views
- Last post
-
- 8
- 4513
-
by steve-myers
View the latest post
Sat Oct 16, 2021 8:59 pm
-
-
Splice JCL into one record for DD statement parms
by phcribb » Thu Nov 05, 2020 9:31 pm » in CLIST & REXX - 3
- 1972
-
by phcribb
View the latest post
Fri Nov 06, 2020 8:06 pm
-