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
 

 

DFSORT Syntax Error in Production region

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

New User


Joined: 25 Apr 2007
Posts: 13
Location: INDIA

PostPosted: Mon Jul 09, 2007 11:58 am    Post subject: DFSORT Syntax Error in Production region
Reply with quote

Hi,

When i run the below sort

Code:
   OPTION COPY                                                   
   OUTREC IFTHEN=(WHEN(126,25,CH,EQ,C'                         '), 
             OVERLAY=(821:70,56,877:4C' ')),                       
          IFTHEN=(WHEN(126,25,CH,NE,C'                         '), 
             OVERLAY=(821:126,56,877:4C' '))                       
It runs fine when i run in SYSE region which is our test region, when we try it in production region SYSG,SYSA it is showing a syntax error.
Back to top
View user's profile Send private message

sril.krishy

Active User


Joined: 30 Jul 2005
Posts: 183
Location: hyderabad

PostPosted: Mon Jul 09, 2007 12:28 pm    Post subject:
Reply with quote

srini1528,
Please put some meaning ful heading for the problem instead of HELP.I think you need to find out the SYSE system libraries and use the same for the PROD job by using the STEPLIB statement.

ANyway ,have you checked the SORT versions on both the SYSE and PROD ?

Thanks
Krishy
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Mon Jul 09, 2007 12:35 pm    Post subject: Re: throwing syntax error
Reply with quote

srini1528 wrote:
it is throwing syntax error. Help me how to resolve this.
We would be delighted, please post the entire sysout including the error.
Also, post the sysout of the run that "runs fine".
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: Mon Jul 09, 2007 8:02 pm    Post subject:
Reply with quote

Actually, your control statements as shown would get a syntax error on any version of DFSORT because you have WHEN(...) instead of WHEN=(...). The correct syntax would be:

Code:

  OPTION COPY                                 
   OUTREC IFTHEN=(WHEN=(126,25,CH,EQ,C' '),   
             OVERLAY=(821:70,56,877:4C' ')),   
          IFTHEN=(WHEN=(126,25,CH,NE,C' '),   
             OVERLAY=(821:126,56,877:4C' '))   


Note that you only need one blank for the constant in the WHEN condition.

If you actually have WHEN=(...) rather than WHEN(...), then without seeing the actual syntax error you received, I can take an educated guess that it was for IFTHEN and the reason is that you have the April, 2006 DFSORT PTF installed on your test system but not on your production system.

You need z/OS DFSORT V1R5 PTF UK90007 or DFSORT R14 PTF UK90006 (April, 2006) in order to use DFSORT's IFTHEN and OVERLAY functions. Ask your System Programmer to install it on the production system. For complete details on all of the new DFSORT and ICETOOL functions available with the April, 2006 PTF, see:

www.ibm.com/servers/storage/support/software/sort/mvs/peug/

The other possibility is that you're not using DFSORT.
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 Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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