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
 

 

UNIDENTIFIED CHARACTER '=' WAS FOUND IN THE 'IFTHEN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: UNIDENTIFIED CHARACTER '=' WAS FOUND IN THE 'IFTHEN
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: 3158
Location: Tucson AZ

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

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

DFSORT Moderator


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

PostPosted: Tue Jun 05, 2007 9:49 pm    Post subject:
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    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 Need Help with : IFTHEN(WHEN=GROUP) Sumanta_89 DFSORT/ICETOOL 1 Wed Apr 19, 2017 5:23 pm
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm


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