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
 

 

Problem while using IFTRAIL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Problem while using IFTRAIL
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: 6967
Location: porcelain throne

PostPosted: Tue Apr 19, 2011 4:03 pm    Post subject:
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    Post subject: Reply to: Problem while using IFTRAIL
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    Post subject: Reply to: Problem while using IFTRAIL
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

http://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    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 Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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