MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

when dataset edited

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
dharmaraju
Beginner


Joined: 10 Feb 2003
Posts: 11
Topics: 2
Location: Bangalore

PostPosted: Wed Jun 18, 2003 10:56 pm    Post subject: when dataset edited Reply with quote

I am facing a peculiar problem. For the input file in my job, i copied production data and ran the job. It ran successfully. After that , i edited the input file and ran the same job, but itz timing out after a long time. Folks plz throw light on it
_________________
Arigato Guzaimasu ( Thank you in Japanese)
Dharmaraj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
satjag
Beginner


Joined: 19 Dec 2002
Posts: 19
Topics: 2

PostPosted: Thu Jun 19, 2003 12:56 am    Post subject: Reply with quote

Hello,

More information is required for anlaysing this problem.

Upfront, what you can try probably is to reduce the number of records in your input file and try submitting the job.If that runs through, then you can double check the data you have edited.

As I said, more info is reqd .
_________________
Regards,
satjag
Back to top
View user's profile Send private message
dharmaraju
Beginner


Joined: 10 Feb 2003
Posts: 11
Topics: 2
Location: Bangalore

PostPosted: Thu Jun 19, 2003 2:02 am    Post subject: Reply with quote

ok its goes like this;
I copied the production data to my input file (only 50 records)
When i ran the job it was successful.
For the testing purpose, I edited only one record in the input file and again submited the job. But surprisingly it is hell lot of time and also timing out.
Again I copied the production data freshly and ran the job and it is succssful.
I am wondering why it is happening when i edit the data, that too adding a single character to the existing data
_________________
Arigato Guzaimasu ( Thank you in Japanese)
Dharmaraj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Thu Jun 19, 2003 4:37 am    Post subject: Reply with quote

Don't you get some message with time outs, like waiting for dataset etc ...
Back to top
View user's profile Send private message Send e-mail
dharmaraju
Beginner


Joined: 10 Feb 2003
Posts: 11
Topics: 2
Location: Bangalore

PostPosted: Thu Jun 19, 2003 6:37 am    Post subject: Reply with quote

No, i am not getting any such message, even error messages of the program
_________________
Arigato Guzaimasu ( Thank you in Japanese)
Dharmaraj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
satjag
Beginner


Joined: 19 Dec 2002
Posts: 19
Topics: 2

PostPosted: Thu Jun 19, 2003 7:43 am    Post subject: Reply with quote

Hello ,

Cannot really think why this is happening..

do you have xpediter in your shop ? Since input file has only fifty records,it would be of help if you can run through the xpediter and see the results.
_________________
Regards,
satjag
Back to top
View user's profile Send private message
dharmaraju
Beginner


Joined: 10 Feb 2003
Posts: 11
Topics: 2
Location: Bangalore

PostPosted: Thu Jun 19, 2003 8:08 am    Post subject: Reply with quote

Ok, is there any way to know the cause, like analysing the spool dump etc.,
_________________
Arigato Guzaimasu ( Thank you in Japanese)
Dharmaraj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Thu Jun 19, 2003 3:46 pm    Post subject: Reply with quote

Hi Dharmaraj,

In researching the history of COBOL debugging tools I found that the 1st was the eyeball, quickly followed by the DISPLAY stmt. Very Happy

If you don't have any debug tools or you can't spare the time to learn to use them,
I would extract the record you changed and no more than 1 or 2 other recs and use that as your I/P file. I find this trick keeps me from getting distracted and/or confused.

Then modify your pgm to put a DISPLAY at the top of your major processing loop. Put one as the 1st stmt in the pgm too. This will prove that you got to the part of the pgm that you wrote. I always prefix the DISPLAY text with "DEBUG~". Then when I need to get rid of them I just "x all debug~;del all x.

I suspect the edit of the rec is causing your pgm to loop. Execute the pgm w/the DISPLAY against the 3-4 rec file. Once you are sure it began execution cancel it immediately. Check the DISPLAY o/p and proceed from there. Add more displays, etc.

Regards, Jack.
Back to top
View user's profile Send private message
dharmaraju
Beginner


Joined: 10 Feb 2003
Posts: 11
Topics: 2
Location: Bangalore

PostPosted: Fri Jun 20, 2003 12:33 am    Post subject: Reply with quote

Hi.
You know in my previous shops, sometimes whenever i edited my input file and submitted job i was getting the 'dataset waiting error'. so i used to logout from the tso and delete the ISPF log. When I logback and submit the job again, it was a succes.. So here also, i was thinking of any such kind of unusual thing.
But in my situation, i was expecting some abend to occur(even in case of looping)
_________________
Arigato Guzaimasu ( Thank you in Japanese)
Dharmaraj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
dorkhead
Beginner


Joined: 07 Jan 2003
Posts: 25
Topics: 0
Location: Lux

PostPosted: Wed Jun 25, 2003 4:34 am    Post subject: Reply with quote

here is my stupid question (hope u'll excuse me ) did u leave the dataset ?

I mean exit form the dataset.
_________________
Dorkhead
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group