View previous topic :: View next topic
|
Author |
Message |
p.d.prasad
New User
Joined: 20 Jun 2006 Posts: 14 Location: hyderabad
|
|
|
|
how can we get warning message when the lines in program exeeds 1000 lines and how can we give the condition in order to avoid the situation |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Prasad,
Hope the system administrator should take care of this. i don't think we can change the settings of the code file. Let me know if you know any of the settings changes ... |
|
Back to top |
|
|
p.d.prasad
New User
Joined: 20 Jun 2006 Posts: 14 Location: hyderabad
|
|
|
|
khamarutheen wrote: |
Prasad,
Hope the system administrator should take care of this. i don't think we can change the settings of the code file. Let me know if you know any of the settings changes ... |
thanks for your reply
but presently iam learning mainframes in hyderabad last saturday i wrote the exam on jcl ,in that exam they have asked the query,but i could'nt find the solution till now . i have to write the condition to get a warning message when the program exceeds 1000 lines. iam new to this forum |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
if you are askign for a program (file) outside your running jcl then its simple..
do an idcams step and use
PRINT INDATASET(hlq.slq.name) COUNT(1000)
checks whether 1000 records are available in the file, if not true return RC4. |
|
Back to top |
|
|
p.d.prasad
New User
Joined: 20 Jun 2006 Posts: 14 Location: hyderabad
|
|
|
|
hariavinash wrote: |
if you are askign for a program (file) outside your running jcl then its simple..
do an idcams step and use
PRINT INDATASET(hlq.slq.name) COUNT(1000)
checks whether 1000 records are available in the file, if not true return RC4. |
thanks for ur valuable reply
how many times secondary space allocated in VSAM ?
WHAT IS THAT CONCEPT PLEASE EXPLAIN |
|
Back to top |
|
|
|