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
 

 

Multiple HEADER / symnames question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Reply to: OUTFIL HEADER1 issue in Sort
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

Site Director


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

PostPosted: Fri Sep 18, 2009 7:31 pm    Post subject:
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 Moderator


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

PostPosted: Fri Sep 18, 2009 10:00 pm    Post subject:
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    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 Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am


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