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
 

 

Need help with MOVE statement in NATURAL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    Post subject: Need help with MOVE statement in NATURAL
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    Post subject: Re: Need help with MOVE statement in NATURAL
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:21 pm


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