Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
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
 
string continuation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: string continuation
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: 456
Location: Belgium

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

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

Moderator Team Head


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

PostPosted: Mon Jan 05, 2009 7:20 pm    Post subject: Reply to: string continuation
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    Post subject: Reply to: string continuation
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    Post subject: Reply to: string continuation
Reply with quote

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

Here it is

http://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    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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts change string before sertan string anatol DFSORT/ICETOOL 8 Tue Aug 15, 2017 5:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us