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
 

 

Character Quotes in ICETOOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Character Quotes in ICETOOL
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    Post subject:
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    Post subject:
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    Post subject:
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 Moderator


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

PostPosted: Tue Nov 08, 2011 2:38 am    Post subject:
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    Post subject:
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    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 Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm
No new posts Translating Quotes Khadhar Basha CLIST & REXX 6 Tue May 09, 2017 11:52 am
No new posts Group elements using ICETOOL Learncoholic DFSORT/ICETOOL 2 Fri Apr 14, 2017 11:01 am
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am


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