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

string continuation


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

New User


Joined: 06 Apr 2006
Posts: 31

PostPosted: Mon Jan 05, 2009 4:09 pm
Reply with quote

Hi - I have a Connect:Direct parm where I need to give the destination name DSN2 which is too big to fit in a line.

Code:

SIGNON USERID=(Y)                                    -           
         ESF=YES                                                   
   SUBMIT PROC=MODEL01 HOLD=NO CASE=YES                 -           
        SNODE=node name
        &OSYSOPTS=\"DATATYPE(TEXT)"\                   -           
        &OPDISP=(MOD,CATLG)                            -           
        &DSN1='Input file name'         -           
        &DSN2='\\Master\commission\financial\reports        - 
               \Daily reports\COMM_RPT090105.CSV'    -     
SIGNOFF     


The above parm gives me error for DSN2's value not continued properly.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Mon Jan 05, 2009 7:10 pm
Reply with quote

Code:
SNODE=node name    -
??
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jan 05, 2009 7:20 pm
Reply with quote

My first obvious answer is, why not use a dataset with a longer LRECL so that the command can fit all on a single line? Other than that, have you reviewed this previous topic which discusses a similar issue?
Back to top
View user's profile Send private message
foliater

New User


Joined: 06 Apr 2006
Posts: 31

PostPosted: Tue Jan 06, 2009 10:56 am
Reply with quote

Hi Superk - I cannot use a longer LRECL for dataset as it is a PDS parm library already defined as LRECL 80. I have searched for a previous topic and couldnt find one. Please give me the link.
Back to top
View user's profile Send private message
foliater

New User


Joined: 06 Apr 2006
Posts: 31

PostPosted: Tue Jan 06, 2009 3:49 pm
Reply with quote

I was able to find the solution in the forum itself. I couldnt spot it earlier

Here it is

www.ibmmainframes.com/about26282.html


Nice solution!
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
No new posts Search string in job at regular Spool... CLIST & REXX 0
Search our Forums:

Back to Top