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
 
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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