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
 

 

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: 4648
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am


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