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
 
Diff between overriding parameter and overriding dataset

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

New User


Joined: 06 Apr 2007
Posts: 3
Location: BANGALORE

PostPosted: Sat Apr 07, 2007 8:26 am    Post subject: Diff between overriding parameter and overriding dataset
Reply with quote

Hi all,

I have faced some questions in interview.

1.what is the difference between overriding parameter and overriding dataset?
2.If 5 null files will be concatenated with 5 files having records then what will happen?

3.how we can display comp-3 items thru cobol?
4.In IEBGENER we dont have any disp parameter in both sysut1 and sysut2 then what will happen .error will be occured or it will be copied?


Thanks in advance.
----------------------
SATYA
Back to top
View user's profile Send private message

venosol
Warnings : 1

New User


Joined: 16 Nov 2006
Posts: 43
Location: Bangalore

PostPosted: Mon Apr 09, 2007 11:39 am    Post subject: Re: Diff between overriding parameter and overriding dataset
Reply with quote

satyabrat jena wrote:
Hi all,

I have faced some questions in interview.

1.what is the difference between overriding parameter and overriding dataset?
2.If 5 null files will be concatenated with 5 files having records then what will happen?

3.how we can display comp-3 items thru cobol?
4.In IEBGENER we dont have any disp parameter in both sysut1 and sysut2 then what will happen .error will be occured or it will be copied?


Thanks in advance.
----------------------
SATYA




I only know about the comp-3 .

We cannot display comp- 3 value because they are stored in packed decimals.We need to declare another dataitem for which comp-3 value will passed and we can display the dataitem.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Apr 09, 2007 1:49 pm    Post subject:
Reply with quote

Venu,

Quote:
We cannot display comp- 3 value


Why do you think so?

satyabrat,

Quote:
In IEBGENER we dont have any disp parameter in both sysut1 and sysut2 then what will happen .error will be occured or it will be copied?


If you dont provide DISP to a dataset, by default it takes (NEW,DELETE,DELETE) for any dataset. Since the SYSUT1 is already an existing file, you will get JCL error.

Quote:
2.If 5 null files will be concatenated with 5 files having records then what will happen?


Are you reffering DUMMY as null file?
Back to top
View user's profile Send private message
khannay2k

New User


Joined: 24 Feb 2005
Posts: 28
Location: Bangalore

PostPosted: Mon Apr 09, 2007 2:47 pm    Post subject: Re: Diff between overriding parameter and overriding dataset
Reply with quote

Satya,

For the question
1. Over riding parameters refers to changing any parameter of the existing JCL like space and Vol parameter of any for that matter.
Eg for parameter overriding
://TBJ370.DTLTRANS DD VOL=SER=ULRL0D,SPACE=(CYL,(50,25),RLSE)
Overriding dataset means you trying to change the dataset with the new overridden one you are specifying.
Eg for dataset overriding:
//TBJ370.DTLTRANS DD temp.*.*
here i am trying ti change the input dataset of the JCL.

Regards,
Rajesh
Back to top
View user's profile Send private message
raak

Active User


Joined: 23 May 2006
Posts: 166
Location: chennai

PostPosted: Mon Apr 09, 2007 4:27 pm    Post subject:
Reply with quote

Venu,

Quote:
We cannot display comp- 3 value because they are stored in packed decimals.We need to declare another dataitem for which comp-3 value will passed and we can display the dataitem.


I think u went wrong here..

If u simply give a DISPLAY statement in Cobol program, u will get the correct value populated . No need to declare another data item.. icon_smile.gif
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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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