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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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