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

NDM Multiple line network folder help


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
AMJohnson

New User


Joined: 31 Jul 2012
Posts: 3
Location: United States of America

PostPosted: Tue Aug 28, 2012 7:18 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Aug 28, 2012 7:25 pm
Reply with quote

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
View user's profile Send private message
AMJohnson

New User


Joined: 31 Jul 2012
Posts: 3
Location: United States of America

PostPosted: Tue Aug 28, 2012 7:30 pm
Reply with quote

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
View user's profile Send private message
AMJohnson

New User


Joined: 31 Jul 2012
Posts: 3
Location: United States of America

PostPosted: Tue Aug 28, 2012 7:38 pm
Reply with quote

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
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
Search our Forums:

Back to Top