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
 

 

a syntax required in using ICETOOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: a syntax required in using ICETOOL
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    Post subject: Re: a syntax required in using ICETOOL
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 Moderator


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

PostPosted: Sat Jul 01, 2006 12:05 am    Post subject:
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    Post subject: Re: a syntax required in using ICETOOL
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 Moderator


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

PostPosted: Sun Jul 02, 2006 7:49 pm    Post subject:
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    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 NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts Using ICETOOL, how we can seperate th... bshkris SYNCSORT 5 Tue May 09, 2017 8:33 pm
No new posts Group elements using ICETOOL Learncoholic DFSORT/ICETOOL 2 Fri Apr 14, 2017 11:01 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts Converting decimal to numeric using I... Balaryan DFSORT/ICETOOL 4 Thu Feb 02, 2017 11:27 pm


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