Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us