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
 

 

NDM Multiple line network folder help

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: NDM Multiple line network folder help
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Tue Aug 28, 2012 7:25 pm    Post subject: Reply to: NDM Multiple line network folder help
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    Post subject: I figured it out
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    Post subject: Re: Reply to: NDM Multiple line network folder help
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm


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