View previous topic :: View next topic
|
Author |
Message |
sivatechdrive
Active User
Joined: 17 Oct 2004 Posts: 191 Location: hyderabad
|
|
|
|
. 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
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
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
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
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
|
|
|
|
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
|
|
|
|
Sometimes from the Screen????????
What do you exactly mean by screen siva. Can you elaborate your query. |
|
Back to top |
|
|
jz1b0c
Active User
Joined: 25 Jan 2004 Posts: 160 Location: Toronto, Canada
|
|
|
|
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 |
|
|
|