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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am


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