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
 

 

JCL-COBOL INTERVIEW QUESTIONS

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

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Wed Jan 25, 2006 5:29 pm    Post subject: JCL-COBOL INTERVIEW QUESTIONS
Reply with quote

1)I HAVE WRITE STEPNAME HAS DUPLICATE.WHAT HAPPEND.?
2)IHAVE FIVE STEPS. I HAVE TO EXECUTE STEP1,STEPE2,STEP4,STEP5.HOW?
3)HOW WILL U RETURN DATA FROM COBOL TO JCL?
4)WHAT IS AMODE AND RMODE.WHERE IT IS USED?
Back to top
View user's profile Send private message

iknow

Active User


Joined: 22 Aug 2005
Posts: 413
Location: Colarado, US

PostPosted: Wed Jan 25, 2006 5:45 pm    Post subject: Re: JCL-COBOL INTERVIEW QUESTIONS
Reply with quote

Hi,

For all your queries search the forum.

You can find answers for all your queries by doing a search.


Let me know if you have any problems in getting the result.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Jan 25, 2006 6:31 pm    Post subject:
Reply with quote

Hi Rambabu..

1) stepname is optional.when used a RESTART or REFERBACK concept it should be unique.

2)
//step1 exec pgm=..
//...
//step2 exec pgm=..
//...
// if step2.rc < 0 or step1.rc < 0
//step3 exec pgm=..
//...
// end-if.
//step4 exec pgm=..
//...
//step5 exec pgm=..
//...

Try this..........

Thanks,
Rajesh.
Back to top
View user's profile Send private message
Gops

New User


Joined: 21 Jul 2005
Posts: 23

PostPosted: Tue Jan 31, 2006 5:27 pm    Post subject: Re: JCL-COBOL INTERVIEW QUESTIONS
Reply with quote

Hi Ramu

Please check the following link for ans to your question
IHAVE FIVE STEPS. I HAVE TO EXECUTE STEP1,STEPE2,STEP4,STEP5.HOW?


http://ibmmainframes.com/viewtopic.php?t=4703&highlight=gops

Cheers,

Gops
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Tue Jan 31, 2006 5:50 pm    Post subject:
Reply with quote

1)I HAVE WRITE STEPNAME HAS DUPLICATE.WHAT HAPPEND.?

STEPNAME SHOULD BE UNIQUE IN THESE FIVE CASES
1.RESTART
2.REFERBACK
3.WHEN USING CONDITION CODE (LIKE COND=(4,LT,STEP1))
4.OVERRIDDING PARAMETER
5. IF THEN ELSE

IF YOU ARE NOT USING ANY ONE OF THESE , THEN NO PROBLEM
YOU CAN HAVE SAME STEP NAMES.


2)I HAVE FIVE STEPS. I HAVE TO EXECUTE STEP1,STEPE2,STEP4,STEP5.HOW?

ONE WAY IS USE RESPECTIVE CONDS IN SAME JCL.
AND THE OTHER WAY IS USING IEBEDIT UTILITY i.e. thrugh ANOTHER JCL
I AM GIVING YOU THE PROGRAM TO SUBMIT STEP1, STEP2, STEP4 ,STEP5FROM PERTICULAR JCL


//PAWAN16 ,,JOB,NOTIFY=PAWAN16,TIME=1
//STEP EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUT1 DD DSN=(PATH WHERE 5 STEP JCL IS PRESENT),DISP=SHR
//SYSUT2 DD DSN=(*,INTRDR),DISP=SHR
//SYSIN DD *
EDIT TYPE=INCLUDE
STEP NAME=(STEP1,STEP2,STEP4,STEP5)
/*
//

THIS WILL EXECUTE ONLY THE MENTIONED STEPS IN THE CONTROL CARD.


DO SEND ME THE REPLY

PAWAN C.
09822546416
pa1chandak@yahoo.com
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 Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm


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