|
View previous topic :: View next topic
|
| Author |
Message |
sudib19
New User
Joined: 06 Feb 2007 Posts: 29 Location: Noida
|
|
|
|
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 |
|
 |
saiprasadh
Active User
Joined: 20 Sep 2006 Posts: 154 Location: US
|
|
|
|
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 |
|
 |
sudib19
New User
Joined: 06 Feb 2007 Posts: 29 Location: Noida
|
|
|
|
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 |
|
 |
saiprasadh
Active User
Joined: 20 Sep 2006 Posts: 154 Location: US
|
|
|
|
Hi Sudip,
you should add one extra single quote at
|
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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 |
|
 |
sudib19
New User
Joined: 06 Feb 2007 Posts: 29 Location: Noida
|
|
|
|
Thanks Frank and Sai.. it worked out great.
Thanks for the help. |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|