What is wrong with my IFTHEN



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

What is wrong with my IFTHEN

Postby zatlas1 » Mon Sep 03, 2012 9:54 am

Please see this screen image... what am I doing wrong?
   Display  Filter  View  Print  Options  Help
 -------------------------------------------------------------------------------
 SDSF OUTPUT DISPLAY ZATLAS1P JOB63378  DSID   105 LINE 1       COLUMNS 02- 81
 COMMAND INPUT ===>                                            SCROLL ===> CSR
ICE143I 0 BLOCKSET     COPY  TECHNIQUE SELECTED
ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES AN
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 23:19 ON SUN SEP
           SORT FIELDS=COPY
           INREC IFTHEN=(WHEN=(2,6,CH,EQ,C'MEMBER'),
                 $
ICE104A 0 INVALID INREC OR OUTREC STATEMENT OPERAND
                 BUILD=(1:C'./ ADD NAME=',13:9,8)),
                 $
ICE005A 0 STATEMENT DEFINER ERROR
                 IFTHEN=(WHEN=NONE,BUILD=(2,81))
                 $
ICE005A 0 STATEMENT DEFINER ERROR
ICE012A 2 MISSING FIELDS OPERAND DEFINER
ICE751I 0 C5-BASE   C6-BASE   C7-BASE   C8-Q83041 E7-Q91626
ICE052I 3 END OF DFSORT
******************************** BOTTOM OF DATA ********************************

Thanks
ZA
zatlas1
 
Posts: 61
Joined: Mon Mar 15, 2010 9:19 am
Has thanked: 0 time
Been thanked: 0 time

Re: What is wrong with my IFTHEN

Postby BillyBoyo » Mon Sep 03, 2012 11:39 am

Can you show your actual cards and JCL please?

Also, can you show the ICE201I message from your step?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: What is wrong with my IFTHEN

Postby enrico-sorichetti » Mon Sep 03, 2012 1:29 pm

V1R5

seems pretty old to me, are you sure that the IFTHEN construct is supported,
check if there are other DFSORT jobs successfully using it
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 3002
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: What is wrong with my IFTHEN

Postby zatlas1 » Mon Sep 03, 2012 6:07 pm

Yeah
It is not supported in that version
will move on
Thank you
ZA
zatlas1
 
Posts: 61
Joined: Mon Mar 15, 2010 9:19 am
Has thanked: 0 time
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post