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
 
Can we use goto statement in inline_perform ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
krishnakumarramaraj

New User


Joined: 15 Nov 2005
Posts: 15
Location: chennai

PostPosted: Fri Jul 25, 2008 2:38 pm    Post subject: Can we use goto statement in inline_perform ?
Reply with quote

pls any one of tell me that Can we use goto statement in inline_perform ?
If we use what will happen
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Jul 25, 2008 2:39 pm    Post subject: Reply to: Can we use goto statement in inline_perform ?
Reply with quote

Try and post Your findings
Back to top
View user's profile Send private message
sri_mf

Active User


Joined: 31 Aug 2006
Posts: 215
Location: India

PostPosted: Fri Jul 25, 2008 3:02 pm    Post subject: Re: Can we use goto statement in inline_perform ?
Reply with quote

krishnakumarramaraj wrote:
pls any one of tell me that Can we use goto statement in inline_perform ?
If we use what will happen


Yes you can use it will work fine... just write simple code to check it
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Fri Jul 25, 2008 5:22 pm    Post subject:
Reply with quote

Hi krishnakumarramaraj !

We live in 2008!
In most firm's it's forbidden, to use GoTo-Command.

Programming in Cobol-II it's just a NoGo !!!"
Back to top
View user's profile Send private message
sedireswarapu

New User


Joined: 18 Jun 2008
Posts: 28
Location: India

PostPosted: Fri Jul 25, 2008 8:28 pm    Post subject:
Reply with quote

Krishna,

Could you please tell us what exactly is your requirement and why would you like to use a GOTO in an inline perform?

You will have some other better option to make use of, instead of using that.
Back to top
View user's profile Send private message
krishnakumarramaraj

New User


Joined: 15 Nov 2005
Posts: 15
Location: chennai

PostPosted: Sun Jul 27, 2008 10:07 pm    Post subject: Sriram
Reply with quote

I faced this in an interview.Currently i am not working that's y asked.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Jul 27, 2008 11:24 pm    Post subject:
Reply with quote

Hello,

Quote:
I faced this in an interview
The compiler will typically permit this and when compiled it will execute.

Many organizations do not permit this as it is usually a very bad programming practice. One exception that comes to mind is GOing directly to an abend routine that among other things would make sure there was a dump produced. . .
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 -> Mainframe Interview Questions 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 ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm
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

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