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

eds interview queries


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivatechdrive

Active User


Joined: 17 Oct 2004
Posts: 191
Location: hyderabad

PostPosted: Fri Dec 17, 2004 11:20 am
Reply with quote

. can generation data sets be different lengths

2. a job executes for 10 hours,how to make it to execute in 7 hours(other than class parameter)

3.my jcl is in jcllib & proc in proclib,my job executes fine when i run today but when i run the same job after 2 days i am getting proc not found error
,i didn't make any changes anywhere

4.in proc i am using the symbolic parameters,in my job i use different ,will the sysmbolic parameter gets overwrite

5.i am a data set with 900 records,create 3 output's files with 300 records ea
Back to top
View user's profile Send private message
ovreddy

Active User


Joined: 06 Dec 2004
Posts: 211
Location: Keane Inc., Minneapolis USA.

PostPosted: Fri Dec 17, 2004 1:25 pm
Reply with quote

Hi,

1 ans: Yes, the DCB of the model dataset can be overridden when you allocate new versions. So that diff versions can have different lengths.

2. One way to use class parameter but you said dont use it. Then the second way is to use PRTY parameter but we cant say exactly that it will execute in 7 hrs like that. If you are crazy you can say that sub mit the job at weekends. ( hahahaaaa....)

3. The order of searching may be changed use JCLLIB to specify the ORDER of searching for proclib.

4. As I know it overrides symbolic parameters.

5. If it is in cobol start a reccount as 0 read and write to file1. when it reaches 300 write to file2 when it reaches 600 write it to file3.
If it is JCL use SORT CARD as follows.... using conditions or primary key values

//SYSIN DD *
SORT FIELDS=COPY
OUTFIL FILES=01,INCLUDE=(1,6,CH,EQ,C'MOHANK')
OUTFIL FILES=02,INCLUDE=(1,6,CH,EQ,C'SURESH')
OUTFIL FILES=03,INCLUDE=(1,6,CH,EQ,C'KRISHN'
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Tue Dec 21, 2004 1:57 am
Reply with quote

Siva,

In EDS if they ask such questions, you have to think of production support environment. (I worked there )
q)
A job executes for 10 hours,how to make it to execute in 7 hours(other than class parameter)

Ans: I accept with what Reddy Says, But every day you cant keep changing the priority for a production Job. (it has to be a Change request). Instead you can call the operator and ask him to bump up the priority.

Second is , Analyse the cobol program for optimization.


b)
in proc i am using the symbolic parameters,in my job i use different ,will the sysmbolic parameter gets overwrite

yes, but only if you pass them thru the step that is calling the proc.
Back to top
View user's profile Send private message
Guest







PostPosted: Tue Dec 21, 2004 9:51 am
Reply with quote

Hi from Siva

Thanks Guys for the Answers!!

one more query is
1. i have a cobol program
some times i want to take the input from JCL(sysin)
& some times from the screen

is this possible


Thanks
siva
Back to top
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Tue Dec 21, 2004 2:07 pm
Reply with quote

Sometimes from the Screen????????

What do you exactly mean by screen siva. Can you elaborate your query.
Back to top
View user's profile Send private message
jz1b0c

Active User


Joined: 25 Jan 2004
Posts: 160
Location: Toronto, Canada

PostPosted: Tue Dec 21, 2004 10:47 pm
Reply with quote

Good day,

I guess, he means, to accept the input from ISPF,(like in C programs printf and scanf).

though its possible its not that straight and I have not known someone doing so.

the way is you have to write a REXX/clist program to accept this and then Create a Jcl to submit.

Using REXX, you can accept terminal input.

But Cobol on MVS doesn't have the ability to provide you conversation with Terminal.
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 Comp interview questions Mainframe Interview Questions 5
No new posts Index related queries DB2 5
No new posts Interview Questions on Cobol DB2 program Mainframe Interview Questions 5
No new posts The Last Two Question For You To Ask ... Mainframe Interview Questions 0
No new posts Need help with below queries DB2 3
Search our Forums:

Back to Top