IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Character Quotes in ICETOOL


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudib19

New User


Joined: 06 Feb 2007
Posts: 29
Location: Noida

PostPosted: Tue Nov 08, 2011 1:37 am
Reply with quote

Hi,

I want to build a record which should be in quotes
Code:

INCLUDE COND=(1,27,CH,EQ,C'EZA2284I XXXXXXXXXXXXXXXXXXX')
OUTFIL BUILD=(1:C'GET',4:1X,5:10,58,63:1X,64:C'+',65:16X,/,
              1:C''',2:Dataset Name(+1)',30:C''',
              31:50X)


But I get an error message
INCLUDE COND=(1,27,CH,EQ,C'EZA2284I XXXXXXXXXXXXXXXXXXX')
OUTFIL BUILD=(1:C'GET',4:1X,5:10,58,63:1X,64:C'+',65:16X,/,
1:C''',2:C'Dataset Name(+1)',30:C''',
$
SYNTAX ERROR
31:50X)
$

Please let me know where I am going wrong

Thanks
Sudip
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Tue Nov 08, 2011 1:56 am
Reply with quote

Hi Sudip,



Please find the correct control card

Code:

INCLUDE COND=(1,27,CH,EQ,C'EZA2284I XXXXXXXXXXXXXXXXXXX')           
OUTFIL BUILD=(1:C'GET',4:1X,5:10,58,63:1X,64:C'+',65:16X,/,         
              1:C'''',2:C'DATASET NAME(+1)',30:C'''',               
              31:50X)



Sai
Back to top
View user's profile Send private message
sudib19

New User


Joined: 06 Feb 2007
Posts: 29
Location: Noida

PostPosted: Tue Nov 08, 2011 2:00 am
Reply with quote

Hi,

Thanks

Sorry I missed out the quote in my post while cutting and pasting, but even with that it gives me the error.

Code:

INCLUDE COND=(1,27,CH,EQ,C'EZA2284I XXXXXXXXXXXXXXXXXX')
OUTFIL BUILD=(1:C'GET',4:1X,5:10,52,57:1X,58:C'+',59:12X,/,
              1:C''',2:'Dataset Name(+1)',30:C''',
              31:50X)


Code:


  INCLUDE COND=(1,27,CH,EQ,C'EZA2284I FullServiceAddress')
  OUTFIL BUILD=(1:C'GET',4:1X,5:10,58,63:1X,64:C'+',65:16X,/,
                1:C''',2:C'Dataset Name(+1)',30:C''',
                           $
SYNTAX ERROR
                31:50X)
                $
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Tue Nov 08, 2011 2:01 am
Reply with quote

Hi Sudip,



you should add one extra single quote at
Code:
30:C''''
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Tue Nov 08, 2011 2:38 am
Reply with quote

Sudip,

You would also need to change:

1:C'''

to

1:C''''

But you can simplify your DFSORT statements like this:

Code:

  INCLUDE COND=(1,27,CH,EQ,C'EZA2284I XXXXXXXXXXXXXXXXXX')   
  OUTFIL BUILD=(C'GET ',10,52,57:C' +',80:X,/,               
              C'''Dataset Name(+1)',30:C'''')               
Back to top
View user's profile Send private message
sudib19

New User


Joined: 06 Feb 2007
Posts: 29
Location: Noida

PostPosted: Tue Nov 08, 2011 2:41 am
Reply with quote

Thanks Frank and Sai.. it worked out great.

Thanks for the help.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Shift left VB record without x00 endi... DFSORT/ICETOOL 11
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Help in extracting data between doubl... DFSORT/ICETOOL 5
Search our Forums:

Back to Top