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

a syntax required in using ICETOOL


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

New User


Joined: 06 Apr 2006
Posts: 31

PostPosted: Fri Jun 30, 2006 9:42 pm
Reply with quote

pls have a look at this JCL code:

Code:

 INCLUDE COND=(465,21,CH,GE,C'000000000005446001001',AND,         
                         465,21,CH,LE,C'000009978246818001001')                   


this works fine,
but i have to continue the char (C' ')in the next line like the following JCL code,

Code:

 INCLUDE COND=(465,21,CH,GE,C'00000000000
                           5446001001',AND,         
                          465,21,CH,LE,C'00000997824
                          6818001001')                   

how to do this....
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Fri Jun 30, 2006 10:18 pm
Reply with quote

You probably need to break the control cards at a logical location:


Code:

 INCLUDE COND=(465,21,CH,GE,
   C'000000000005446001001',AND,
   465,21,CH,LE,
   C'000009978246818001001')
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: Sat Jul 01, 2006 12:05 am
Reply with quote

It's best NOT to split literals across lines if you can avoid it, so the technique cpuhawg shows is the preferred way to do it. But if you really need to split a literal across a line (for example, if the literal is 90 bytes), you can do it by running the literal up to position 71, then putting a non-blank in 72 and then continuing the literal on the next line starting in position 2. For example (b for blank):

Code:

12                                                                    72
bINCLUDE COND=(1,90,CH,EQ,C'1234567890123456789012345678901234567890123*
b45678901234567890123456789012345678901234567890')
Back to top
View user's profile Send private message
foliater

New User


Joined: 06 Apr 2006
Posts: 31

PostPosted: Sat Jul 01, 2006 6:07 pm
Reply with quote

Hi,
In addition to that,in my key field i encounter an apostrophe which gives me U016 abend...

see the following code...

INCLUDE COND=(657,85,CH,GE,C'ROSA-01 ROSATI'S PIZZA
')

can u pls tell me the way to handle this....
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: Sun Jul 02, 2006 7:49 pm
Reply with quote

You need to use two apostrophes within a literal to get one apostrophe:

Code:

  INCLUDE COND=(657,85,CH,GE,C'ROSA-01 ROSATI''S PIZZA')
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 PARSE Syntax for not fix length word ... JCL & VSAM 7
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
Search our Forums:

Back to Top