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 question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

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