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

Can we code inline perform within a inline perform


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Madhu Reddy

New User


Joined: 28 Sep 2006
Posts: 56

PostPosted: Thu Jan 17, 2008 8:55 am
Reply with quote

Hi,

1.Can we code inline perform within a inline perform?
2. In inline perform can we code perform varying until ?
Back to top
View user's profile Send private message
trgk03

New User


Joined: 20 Jan 2006
Posts: 12
Location: kochi

PostPosted: Thu Jan 17, 2008 9:40 am
Reply with quote

1) Yes it can be done.

2)
PERFORM VARYING WS-CNT FROM 1 BY 1
UNTIL WS-CNT > 30
MOVE SPACES TO WS-HX-LAST-NM(WS-CNT)
END-PERFORM
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Use of Perform Thru Exit COBOL Programming 6
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top