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 How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm
This topic is locked: you cannot edit posts or make replies. DSList (3.4) cannot display Chinese c... jacobdng TSO/ISPF 4 Wed Oct 05, 2016 2:51 pm
No new posts Continuation Character ballaswaroop SYNCSORT 8 Thu Aug 25, 2016 4:46 pm
No new posts Icetool or Joinkeys example to compar... ishant chauhan DFSORT/ICETOOL 21 Sat Aug 20, 2016 2:40 am


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