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
 

 

limitation on programm lines

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: limitation on programm lines
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: 680
Location: NJ

PostPosted: Tue Jun 20, 2006 7:26 pm    Post subject: Limiting the Code lines
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    Post subject: Re: Limiting the Code lines
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Insert Lines in JCL with Rexx after a... Willy Jensen CLIST & REXX 3 Tue Aug 30, 2016 4:18 pm
No new posts DFSORT split long VB lines efficiently BridgetBrackenbury DFSORT/ICETOOL 2 Fri Feb 12, 2016 5:10 am
No new posts DFSORT VB File make 2 lines from 1 BridgetBrackenbury DFSORT/ICETOOL 2 Fri Feb 12, 2016 3:48 am
No new posts GROUP of undefined number of lines Khadhar Basha DFSORT/ICETOOL 4 Fri Feb 05, 2016 5:15 am


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