View previous topic :: View next topic
Author
Message
foliater New User Joined: 06 Apr 2006Posts: 31
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
cpuhawg Active User Joined: 14 Jun 2006Posts: 331 Location: Jacksonville, FL
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
Frank Yaeger DFSORT Developer Joined: 15 Feb 2005Posts: 7129 Location: San Jose, CA
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
foliater New User Joined: 06 Apr 2006Posts: 31
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
Frank Yaeger DFSORT Developer Joined: 15 Feb 2005Posts: 7129 Location: San Jose, CA
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
Please enable JavaScript!