Out of Cobol programme



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: Out of Cobol programme

Postby dick scherrer » Thu Jul 30, 2009 6:50 am

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?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Re: Out of Cobol programme

 

Re: Out of Cobol programme

Postby hayt.main » Thu Jul 30, 2009 8:18 am

Hi, It was a mistake. Actually, i am bit new to JCL. I mistakenly placed it. Can you please help to solve it. :)
hayt.main
 
Posts: 17
Joined: Tue Jul 28, 2009 4:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Out of Cobol programme

Postby dick scherrer » Thu Jul 30, 2009 8:29 am

Hello,

Submit the compile again and then look at the output.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Out of Cobol programme

Postby swd » Thu Jul 30, 2009 1:23 pm

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?
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

Re: Out of Cobol programme

Postby hayt.main » Thu Jul 30, 2009 5:40 pm

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

Yes, After submitting execution jcl, i got MAXCC=0.....No JCL Error.
hayt.main
 
Posts: 17
Joined: Tue Jul 28, 2009 4:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Out of Cobol programme

Postby swd » Thu Jul 30, 2009 5:49 pm

So have you tried what has been suggested and you still can't see any output? Please confirm.
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

Re: Out of Cobol programme

Postby swd » Thu Jul 30, 2009 6:01 pm

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)
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

Re: Out of Cobol programme

Postby hayt.main » Fri Jul 31, 2009 6:41 am

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
hayt.main
 
Posts: 17
Joined: Tue Jul 28, 2009 4:31 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Out of Cobol programme

Postby dick scherrer » Fri Jul 31, 2009 7:13 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Out of Cobol programme

Postby swd » Fri Jul 31, 2009 1:07 pm

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?
User avatar
swd
 
Posts: 109
Joined: Wed Feb 18, 2009 9:18 pm
Location: UK
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post