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

jcl-cobol interview question


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top