IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

UNIDENTIFIED CHARACTER '=' WAS FOUND IN THE 'IFTHEN


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mbalaji2585
Warnings : 1

New User


Joined: 10 Nov 2006
Posts: 11
Location: mumbai

PostPosted: Tue Jun 05, 2007 4:50 pm
Reply with quote

Hi,
If I try running a JCL with INCLUDE COND aswell as 2 IFTHEN statements, it is showing JCL error(UNIDENTIFIED CHARACTER '=' WAS FOUND IN THE 'IFTHEN').

But It goes fine with 1 IFTHEN statement or if i use INCULDE and IFTHEN in 2 different steps.

Code:
SORT FIELDS=COPY                                                   
 INCLUDE COND=((353,1,CH,EQ,C'3'),AND,                             
           (531,3,CH,NE,C'001'),AND,                               
           (531,3,CH,NE,C'002'))                                                             
 INREC IFTHEN=(WHEN=(12,1,CH,EQ,C'K'),OVERLAY=(1,11,12:C'I',13,5)),
       IFTHEN=(WHEN=(12,1,CH,EQ,C'M'),OVERLAY=(1,11,12:C'A',13,5))


Can anyone suggest on the same.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue Jun 05, 2007 5:00 pm
Reply with quote

Please post the sysout including the error.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Jun 05, 2007 9:49 pm
Reply with quote

Your control statements work fine with DFSORT.

Do you have the control statements in SYSIN? If you got a "JCL error", then maybe your JCL statements are not set up correctly.

Show your JCL and control statements.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts A directory in the pathname was not f... ABENDS & Debugging 0
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts String has hex character need to conv... COBOL Programming 3
Search our Forums:

Back to Top