I am testing some control statements for Syncsort to learn the software.
I cannot for the life of me get my head around this simple piece of code:
//STEP1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTOUT DD SYSOUT=*
//SORTIN DD *
00000010
TEST1
TEST2
TEST3
//SYSIN DD *
SORT FIELDS=(1,6,CH,A)
INCLUDE COND=(1,1,BI,EQ,2)
//
//SYSOUT DD SYSOUT=*
//SORTOUT DD SYSOUT=*
//SORTIN DD *
00000010
TEST1
TEST2
TEST3
//SYSIN DD *
SORT FIELDS=(1,6,CH,A)
INCLUDE COND=(1,1,BI,EQ,2)
//
When I run this it does not include the first line which I would expect it to.
What would I need to enter here in order for it to pick up on binary equaling 2?
I would have thought that 1,1 means starting in column one for a length of 1 would be one byte.
I would appreciate absolutely any advise on this.
Thank you so very much!!