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

Multiple HEADER / symnames question


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sajjan jindal
Warnings : 1

New User


Joined: 09 Sep 2007
Posts: 60
Location: india

PostPosted: Fri Sep 18, 2009 12:29 pm
Reply with quote

...
Code:
//SYMNAMES DD *
HDR,'Header text'
...
//SYSIN DD *
  SORT FIELDS=COPY                                                   

  OUTFIL FILES=1,                                                     
    HEADER1=(HDR),
    INCLUDE=(1,3,CH,EQ,C'218',OR,1,3,CH,EQ,C'234',OR,1,3,CH,EQ,C'311') 

  OUTFIL FILES=2,               
    HEADER1=(HDR),                                       
    INCLUDE=(1,3,CH,EQ,C'461')                                         

  OUTFIL FILES=3,               
    HEADER1=(HDR),                                       
    OMIT=(1,3,CH,EQ,C'218',OR,1,3,CH,EQ,C'234',OR,1,3,CH,EQ,C'311',OR, 
      1,3,CH,EQ,C'461')     


can anyone suggest me what do we do to use symnames for header with multiple lines. the problem i am facing is i am not able to find the continuation charater to be used with the Symnames parameter.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Sep 18, 2009 7:31 pm
Reply with quote

Hello,

When you have a question, start a new topic for your question rather than post a reply to some topic that has been inactive for almost 2 years.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Fri Sep 18, 2009 10:00 pm
Reply with quote

sajjan,

It would have helped if you'd shown an example of input and expected output.

If you want multiple header lines, you can use / in HEADER1. For example:

Code:

//SYMNAMES DD *
HL1,'Header line 1'
HL2,'Header line 2'
...
   OUTFIL FILES=1,
     HEADER1=(HL1,/,HL2),
     ...


If you want something else, explain exactly what you want with examples.
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top