Page 2 of 3

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 6:50 am
by dick scherrer
Hello,

do u mean, go to 3.4 then goto SDSF then ST?.
No, 3.4 and sdsf are completely different functions.

How do you look at the output from your compile?

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 8:18 am
by hayt.main
Hi, It was a mistake. Actually, i am bit new to JCL. I mistakenly placed it. Can you please help to solve it. :)

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 8:29 am
by dick scherrer
Hello,

Submit the compile again and then look at the output.

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 1:23 pm
by swd
hayt.main,

If you submit your compile I am assuming that you know the compile worked OK. Then submit your JCL that runs your program that does the display. I am also assuming that you know it is running OK. To check the output go to SDSF and type PREFIX HAYT01*, then do ST. If your job produced output then you should see it. If you can't see the output then in SDSF type OWNER *, then ST again just in case the OWNER is set to something else.

If you still can't see your output check the SDSF SYSLOG, (in SDSF type LOG) - here you will be able to see what has happened to your job. Perhaps your job goes to an output class that gets purged straight away so you will never see your output. Perhaps there is a JCL error, perhaps a problem with the JOB CARD, in which case no output is produced. Do you get a NOTIFY message saying that the job has finished OK with a MAXCC=0?

Do you have anyone that you can ask where you work? There must be someone there who can help. More experienced developers, or system support people?

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 5:40 pm
by hayt.main
Hi, currently i am not working. Volunteerly learning..... Please help me.

Yes, After submitting execution jcl, i got MAXCC=0.....No JCL Error.

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 5:49 pm
by swd
So have you tried what has been suggested and you still can't see any output? Please confirm.

Re: Out of Cobol programme

PostPosted: Thu Jul 30, 2009 6:01 pm
by swd
If looking at the joblog is a problem than I suppose you could write the SYSOUT to a disk dataset, so in your JCL you can code, or something similar that is suitable. You can then go to ISPF 3.4 and browse your SYSOUT dataset that should have your Hi message in it.

//SYSOUT DD DSN=HAYT01.SYSOUT,DISP=(,CATLG),         
//          SPACE=(TRK,(1),RLSE),                     
//          DCB=(LRECL=80,RECFM=FB,BLKSIZE=0,DSORG=PS)

Re: Out of Cobol programme

PostPosted: Fri Jul 31, 2009 6:41 am
by hayt.main
Hi, Swd Thank you so much man. :D :D :D It worked, i got in as per your instructions in SYSOUT, but dont know why i cant see it in directly. Thank you so muchhh... :D

Re: Out of Cobol programme

PostPosted: Fri Jul 31, 2009 7:13 am
by dick scherrer
Hello,

Hi, currently i am not working. Volunteerly learning..... Please help me.

Yes, After submitting execution jcl, i got MAXCC=0.....No JCL Error.
If you are running on some system, there is someone who can tell you why you are not able to see your output. . .

Re: Out of Cobol programme

PostPosted: Fri Jul 31, 2009 1:07 pm
by swd
You're welcome. I would still try and contact someone who can help you find out why you can't see any output. If you do a compile and it fails, how will you know what the compile failed with without looking at the output?

Did you look in the SDSF LOG to see if you could see if your output was purged?