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 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: 10308
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 ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 4 Tue Sep 19, 2017 1:39 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

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