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
 

 

Include/omit with "ALL" parameter

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
mgl

New User


Joined: 12 Dec 2005
Posts: 29
Location: Belgium

PostPosted: Wed Jun 14, 2017 2:31 pm    Post subject: Include/omit with "ALL" parameter
Reply with quote

Hello,

I saw in a Dfsort joinkey job the following omit statement in jnf1cntl:
Code:
 OMIT COND=((142,1,BI,ALL,B'00000001',AND,61,1,BI,ALL,B'00000001',
 AND,314,4,BI,EQ,X'00000000',AND,29,4,CH,EQ,C'    '),OR,         
 (142,1,BI,ALL,B'00001000'),OR,(142,1,BI,ALL,B'00000010'))


Could anybody tell me the result of the "142,1,BI,ALL,B'00000001' " condition ?

I didn't manage to found an explonation in the book about the use of "ALL" in a relational condition. My first idea was that it is a mistake, but Dfsort accept the statement without any comment. This is the messages received in the sysout :

Code:
ICE000I 0 - CONTROL STATEMENTS FOR 5650-ZOS, Z/OS DFSORT V2R1  - 01:09 ON WED JUN 14, 2017 -
                                                                                             
           OMIT COND=((142,1,BI,ALL,B'00000001',AND,61,1,BI,ALL,B'00000001',                 
           AND,314,4,BI,EQ,X'00000000',AND,29,4,CH,EQ,C'    '),OR,                           
           (142,1,BI,ALL,B'00001000'),OR,(142,1,BI,ALL,B'00000010'))                         
ICE146I 0 END OF STATEMENTS FROM JNF1CNTL - PARAMETER LIST STATEMENTS FOLLOW                 
          SORT  FORMAT=BI,FIELDS=(45,16,A)                                                   
          RECORD TYPE=F                                                                     
          DEBUG NOABEND,ESTAE                                                               
          OPTION EQUALS,MSGPRT=ALL,LIST,NOCHECK,RESINV=0,DYNALLOC,SORTDD=JNF1,MSG*           
                         DDN=JNF1JMSG,SORTIN=SORTJNF1                                       
ICE193I 0 ICEAM2 INVOCATION ENVIRONMENT IN EFFECT - ICEAM2 ENVIRONMENT SELECTED             


Many thanks for any help in advance.

Best regards, Michel.

Coded - do it yourself next time
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1720
Location: NY,USA

PostPosted: Wed Jun 14, 2017 4:39 pm    Post subject:
Reply with quote

DFSORT OMIT COND
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1800
Location: UK

PostPosted: Wed Jun 14, 2017 7:45 pm    Post subject:
Reply with quote

Rohit, that does not explain what the 'ALL' does within the conditional expression. It seems that 'ALL' should be the entire expression i.e.
Code:
OMIT COND=ALL
but the example shows
Code:
OMIT COND=((142,1,BI,ALL,B'00000001')
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 242
Location: Cincinnati OH USA

PostPosted: Wed Jun 14, 2017 8:42 pm    Post subject:
Reply with quote

This may help. Look for it on the page Rohit suggested.


For complete details on the parameters of the OMIT control statement, see INCLUDE control statement.
Back to top
View user's profile Send private message
sergeyken

New User


Joined: 29 Apr 2008
Posts: 91
Location: Maryland

PostPosted: Wed Jun 14, 2017 9:00 pm    Post subject:
Reply with quote

Read carefully the suggested manual.

Quote:
BO (or ALL) All mask bits are 1s (ON) in the input field
BM (SOME) Some but not all mask bits are 1s (ON) in the input field
BZ (NONE) None of the mask bits is 1 (ON) in the input field
BNO (NOTALL) Some or no mask bits are 1s (ON) in the input field
BNM (NOTSOME) All or no mask bits are 1s (ON) in the input field
BNZ (NOTNONE) All or some mask bits are 1s (ON) in the input field


You need to understand Bit Operations (or Bitwise Operations) first of all - no relation to SORT itself.
If not, then RTFM (including Wikipedia)
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 376
Location: USA

PostPosted: Wed Jun 14, 2017 9:02 pm    Post subject: Reply to: Include/omit with "ALL" parameter
Reply with quote

This may explain specific to the example:

https://www.ibm.com/support/knowledgecenter/SSLTBW_1.13.0/com.ibm.zos.r13.icea100/ice1ca6163.htm

.
Back to top
View user's profile Send private message
mgl

New User


Joined: 12 Dec 2005
Posts: 29
Location: Belgium

PostPosted: Fri Jun 16, 2017 2:37 pm    Post subject: Reply to: Include/omit with "ALL" parameter
Reply with quote

Many thanks for your posts and specialy to RahulG31 and Sergeyken.
I am sorry, i didn't saw this explonation in the book and i always work with method 2.

Have a great end of day, Michel.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm


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