MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using long header names (how to continue in the next line?)

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
prog_mario
Beginner


Joined: 08 Sep 2007
Posts: 86
Topics: 27

PostPosted: Fri Jun 22, 2012 1:18 pm    Post subject: Using long header names (how to continue in the next line?) Reply with quote

Code:

SORT FIELDS=(001,005,CH,A,                                         
               007,011,CH,A,                                         
               019,010,CH,A,                                         
               030,010,CH,A,                                         
               084,026,CH,A)                                         
  OUTFIL REMOVECC,HEADER1=(1:'LOCN,NDC-UPD-NBR,EFF-DTE,EXP-DTE,DESC, 
                  39:'PERCENT,MIN-QTY,LST-MNT-TSMP,LST-OPR-ID,ACTION')

I'm not being able to continue the text in the next line.
This is the error:
Code:

   OUTFIL REMOVECC,HEADER1=(1:'LOCN,NDC-UPD-NBR,EFF-DTE,EXP-DTE,DESC,   
                          *                                             
                   39:'PERCENT,MIN-QTY,LST-MNT-TSMP,LST-OPR-ID,ACTION')
                   *                                                   
 WER268A  OUTFIL STATEMENT  : SYNTAX ERROR                             
 WER275A  NO KEYWORDS FOUND ON CONTROL STATEMENT                       

Help!
_________________
The more I learn, the more I want to learn.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Jun 22, 2012 1:35 pm    Post subject: Reply with quote

prog_mario,

well it is a syncsort question , but I am generous today. You just need to close the text in single quote and continue it in the next line and sort treats it as a single line

ex:
Code:

OUTFIL REMOVECC,                                         
HEADER1=('LOCN,NDC-UPD-NBR,EFF-DTE,EXP-DTE,DESC',         
         'PERCENT,MIN-QTY,LST-MNT-TSMP,LST-OPR-ID,ACTION')
//*

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
prog_mario
Beginner


Joined: 08 Sep 2007
Posts: 86
Topics: 27

PostPosted: Fri Jun 22, 2012 2:12 pm    Post subject: Reply with quote

thanks a lot.
_________________
The more I learn, the more I want to learn.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group