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 question

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

New User


Joined: 14 May 2005
Posts: 64
Location: chennai

PostPosted: Sun Sep 18, 2005 8:57 am    Post subject: jcl-cobol interview question
Reply with quote

in my program soc7 error has occured how do i know which line has error?
i have hundreds of line in my pgm?


i want to execute particular steps in jcl using condition parameter
need sample pgm. i already search this forum i get answers but the examples are used IEB EDIT BUT I NEED EXAMPLES IN CONDITION PARAMETER
Back to top
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Sun Sep 18, 2005 3:11 pm    Post subject:
Reply with quote

I'm not a cobol programmer but I think that using the offset displayed in your sysldump you will able to search in your last compilation sysout to retrieve this kind of information.

About cond parameter...
Execute particular step in jcl using condition parameter does not mean nothing.
In jcl you can execute a particular step using IEBEDIT or submitting only the step deleting the other or using a SUB .A .B to delimit your step or using a final delimiter to stop the execution of your jcl.

The use of COND parameter is useful in jcl but only for a top down method of submitting that require almost two step and one of this must be the first.
A sample:
We have a jcl within two steps, imagine that you want to run second step only using a cond... it is not possible without executing the first! Cond parameter refer to a return code of a previous step, so you can understand that without a previous cond you cannot execute only one step a time.
You can abend you first step and executing the second with a COND=EVEN but in this case you MUST abend your first step that in this logic is equal to execute it.

I hope in this help.
Back to top
View user's profile Send private message
amalli

New User


Joined: 06 Sep 2005
Posts: 17

PostPosted: Mon Sep 19, 2005 9:43 am    Post subject: jcl-cobol interview question
Reply with quote

using List/offset Compiler options...........
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 RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
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


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