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

Need help with MOVE statement in NATURAL


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Shubhabrata Roy

New User


Joined: 28 May 2009
Posts: 4
Location: Bangalore

PostPosted: Tue Jul 28, 2009 12:47 pm
Reply with quote

Hi,

I am writing a dynamic JCL using NATURAL. I need to know the syntax for writing a MOVE statement where the statement is going to 2 lines. I need to move these two lines to the same JCL line.

For Ex:

MOVE '// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
SPACE=(CYL,(20,10),RLSE),'
TO #JCL(7)

It is throwing an error "NAT0305 Text string must begin and end on the same line."

Please advice.

Thanks,
Shubhabrata Roy.
Back to top
View user's profile Send private message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 176
Location: India

PostPosted: Tue Jul 28, 2009 10:08 pm
Reply with quote

Hi Shubhabrata,

Please add a hyphane at the end of each line (excluding the last line) to move multiple lines of text.

MOVE '// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,' -
SPACE=(CYL,(20,10),RLSE),' TO #JCL(7)

Hope this will help you.

Thanks,
Back to top
View user's profile Send private message
Shubhabrata Roy

New User


Joined: 28 May 2009
Posts: 4
Location: Bangalore

PostPosted: Mon Aug 03, 2009 11:41 am
Reply with quote

Hi Monasu,

Thanks a lot and sorry for the delay. It worked:)

Thanks,
Shubhabrata Roy.
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 -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts How to move DB2 Installation HLQ DB2 4
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
Search our Forums:

Back to Top