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: 10211
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 Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts Multiple parameters Csongor All Other Mainframe Topics 16 Thu Jun 09, 2016 7:54 pm


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