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
 

 

eds interview queries

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

Active User


Joined: 17 Oct 2004
Posts: 190
Location: hyderabad

PostPosted: Fri Dec 17, 2004 11:20 am    Post subject: eds interview queries
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    Post subject: Interview Answers...
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    Post subject:
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    Post subject: question
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    Post subject:
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    Post subject:
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    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 The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Need help with below queries ashek15 DB2 3 Thu Mar 23, 2017 1:38 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am
This topic is locked: you cannot edit posts or make replies. Mainframe interview on 10th Oct 2015 ... kotesh Mainframe Jobs 0 Thu Oct 08, 2015 5:21 pm


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