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
 
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 WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
No new posts Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm

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