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

limitation on programm lines


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
p.d.prasad

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Tue Jun 20, 2006 7:19 pm
Reply with quote


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
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Tue Jun 20, 2006 7:26 pm
Reply with quote

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
View user's profile Send private message
p.d.prasad

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Tue Jun 20, 2006 7:56 pm
Reply with quote

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
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Wed Jun 21, 2006 8:59 pm
Reply with quote

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
View user's profile Send private message
p.d.prasad

New User


Joined: 20 Jun 2006
Posts: 14
Location: hyderabad

PostPosted: Sat Jun 24, 2006 12:22 pm
Reply with quote

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
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
No new posts JCL - To repeat a string in same colu... JCL & VSAM 2
Search our Forums:

Back to Top