Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 write multiple lines in PS file in cobol Balu5491 COBOL Programming 7 Wed Mar 07, 2018 10:27 am
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts JES2 EXIT 6 QUESTION Randy Horowitz All Other Mainframe Topics 30 Tue Feb 06, 2018 5:47 pm
No new posts Unloading DB2 table in CSV format alo... grvtomar COBOL Programming 7 Sun Jan 28, 2018 2:05 am
No new posts Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us