| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
sivatechdrive
Joined: 17 Oct 2004
Posts: 168
Location: hyderabad
|
| Posted: Fri Dec 17, 2004 11:20 am Post subject: eds interview queries |
|
|
. 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 |
|
ovreddy
Joined: 06 Dec 2004
Posts: 200
Location: Keane India Ltd., Hyderabad
|
| Posted: Fri Dec 17, 2004 1:25 pm Post subject: Interview Answers... |
|
|
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 |
|
jz1b0c
Joined: 25 Jan 2004
Posts: 180
Location: Toronto, Canada
|
| Posted: Tue Dec 21, 2004 1:57 am Post subject: |
|
|
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 |
|
Guest
|
| Posted: Tue Dec 21, 2004 9:51 am Post subject: question |
|
|
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
Joined: 06 Jan 2004
Posts: 257
|
| Posted: Tue Dec 21, 2004 2:07 pm Post subject: |
|
|
Sometimes from the Screen????????
What do you exactly mean by screen siva. Can you elaborate your query. |
|
| Back to top |
|
jz1b0c
Joined: 25 Jan 2004
Posts: 180
Location: Toronto, Canada
|
| Posted: Tue Dec 21, 2004 10:47 pm Post subject: |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|