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

Problem while using IFTRAIL


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

New User


Joined: 18 Aug 2006
Posts: 45

PostPosted: Tue Apr 19, 2011 3:39 pm
Reply with quote

Hi All,

I am using the IFTRAIL feature of DFSORT to edit the trailer record with the record counts and totals , in doing so i am receiving the below error messages. I cross checked the syntax and everything appears to be correct but i am not able to rectify the issue.Appreciate your help on this.

Please see the details below

Job

Code:
//PSTEP010 EXEC PGM=SORT                             
//SYSOUT   DD SYSOUT=*                               
//SORTIN   DD DSN=XT1.SMS.SAM.TEST.FILE,DISP=SHR     
//OUT1     DD DSN=XT1.SMS.SAM.TEST.FILE.OUT,         
//             DISP=(,CATLG,DELETE),
//             UNIT=SYSDA,SPACE=(CYL,(50,50),RLSE)   
//SYSIN    DD  *                                     
  OPTION COPY                                         
  OUTFIL FNAMES=OUT1,                                 
   INCLUDE=(1,4,CH,EQ,C'EMP1'),                       
    IFTRAIL=(TRLID=(1,5,CH,EQ,C'TRAIL'),               
    TRLUPD=(13:COUNT=(M11,LENGTH=3),                 
    17:TOT=(12,5,ZD,TO=ZD,LENGTH=6)),                 
    HD=YES)                                           
/*       


Error Messages

Code:
ICE000I 1 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R10 - 05:52

           OPTION COPY                                                 
           OUTFIL FNAMES=OUT1,                                         
            INCLUDE=(1,4,CH,EQ,C'EMP1'),                               
            IFTRAIL=(TRLID=(1,5,CH,EQ,C'TRAIL'),                       
            $                                                         
ICE213A 0 INVALID OUTFIL STATEMENT OPERAND                             
             TRLUPD=(13:COUNT=(M11,LENGTH=3),                         
             $                                                         
ICE005A 0 BLANK NEEDED IN COLUMN 1 OR OPERATION NOT DEFINED CORRECTLY 
             17:TOT=(12,5,ZD,TO=ZD,LENGTH=6)),                         
             $                                                         
ICE007A 0 SYNTAX ERROR                                                 
             HD=YES)                                                   
             $                                                         
ICE005A 0 BLANK NEEDED IN COLUMN 1 OR OPERATION NOT DEFINED CORRECTLY


Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Apr 19, 2011 4:03 pm
Reply with quote

start with this: INVALID OUTFIL STATEMENT OPERAND
and insure that it is a valid OUTFIL statment
Back to top
View user's profile Send private message
akshathan

New User


Joined: 18 Aug 2006
Posts: 45

PostPosted: Tue Apr 19, 2011 4:10 pm
Reply with quote

Hi Dick,

Thanks for your reply. I have copied the control statments related to OUTFIL in my previous post. I am using this from the DFSORT PTF UK90025. Please help me out in finding the error in my OUTFIL statment. This has taken my whole day and i am still struggling with this.
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Tue Apr 19, 2011 9:31 pm
Reply with quote

akshathan,

Your shop does NOT have the z/OS DFSORT V1R10 PTF UK90025 which supports IFTRAIL parm. Check this link to determine your DFSORT function level

ibmmainframes.com/viewtopic.php?t=33389
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top