|
View previous topic :: View next topic
|
| Author |
Message |
AMJohnson
New User
Joined: 31 Jul 2012 Posts: 3 Location: United States of America
|
|
|
|
I've done a few searches on the forums but haven't been able to find out any answer.
I'm attempting to get a file from a network location to a mainframe using NDMBATCH (Connect:Direct).
Currently, I'm getting a parse error ('SCIC011I Errored string record began ==>').
| Code: |
SIGNON ESF=YES
SUBMIT PROC=LANXMVS1 CASE=YES -
&PDSN=T99.XXXXX.TERMLOG.POLLIST(+1) -
&PDISP=(NEW,CATLG,CATLG) -
&PDCB=(RECFM=FB,LRECL=80,BLKSIZE=0) -
&PSPACE=(80,(1000,1000),RLSE) -
&SDSN=\'\\\\XXXXXXXXXXXXXXXXXXX\\GROUP\\OPS\\VOL9\\ || -
\\\GROUP\\XXXX XXXXX\\XXXXXXXXDAILYXXXREPORTS\\ || -
\\\GENERAL PROCEDURES\\REPORT\\TERMLIST.TXT'\
SIGNOFF |
I've been able to successfully use the line continuation "||" over two lines but I can't find a valid link for the PDF user reference manuals.
Please let me know what you see wrong with the above. (I think it is with the &SDSN= line.
I'm trying to avoid changing the network folder but I understand that may be necessary. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
all depends on the usage/meaning of the \ char!
is it used as a
1) <string>/<partial string> string delimiter
or
2) as the escape char ?
case 1 some of them are missing/are in excess ... end of line 1 and line 2
case 2 TXT'\ should be TXT\' |
|
| Back to top |
|
 |
AMJohnson
New User
Joined: 31 Jul 2012 Posts: 3 Location: United States of America
|
|
|
|
the double \ at the end of the lines should have been single.
Like this:
| Code: |
&SDSN=\'\\\\XXXXXXXXXXXXXXXXXXX\\GROUP\\OPS\\VOL9\ || -
\\\GROUP\\XXXX XXXXX\\XXXXXXXXDAILYXXXREPORTS\ || -
\\\GENERAL PROCEDURES\\REPORT\\TERMLIST.TXT'\
|
|
|
| Back to top |
|
 |
AMJohnson
New User
Joined: 31 Jul 2012 Posts: 3 Location: United States of America
|
|
|
|
| enrico-sorichetti wrote: |
case 1 some of them are missing/are in excess ... end of line 1 and line 2
|
Yup, this is the case. Thanks for explaining. |
|
| Back to top |
|
 |
|
|