A newbie tries to create a new DS using DD



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

Re: A newbie tries to create a new DS using DD

Postby Akatsukami » Sat Nov 19, 2011 1:18 am

enrico-sorichetti wrote:but since today is psychic day .. You might want to check the message
IEC130I SYSTSIN DD STATM

here
http://publibz.boulder.ibm.com/cgi-bin/ ... SPTM010627
and at accordingly...

but You posted the data from some early run the latest jcl has the proper SYSTSIN dd so You should look somewhere else

Or the other way around. I don't know what time zone INGBI is in, but those tiimestamps would be in the immediate past if I'd run the job.

INGBI, also show us the JESJCL output.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: Re: A newbie tries to create a new DS using DD

 

Re: A newbie tries to create a new DS using DD

Postby INGBI » Sat Nov 19, 2011 1:18 am

Akatsukami wrote:
INGBI wrote:

    N 0000000 TESTMVS 11322 13:06:11.54 JOB00562 00000090 IEF403I DB2EXTR - STARTE
    N 0020000 TESTMVS 11322 13:06:11.56 JOB00562 00000090 IEC130I SYSTSIN DD STATM
    M 0000000 TESTMVS 11322 13:06:11.57 JOB00562 00000090 IEF450I DB2EXTR RUNPROG E
    E 354 00000090 TIME=13.06.11 N
    N 0004000 TESTMVS 11322 13:06:11.57 JOB00562 00000290 - S
    S ----PAGING COUNTS--- N
    N 0004000 TESTMVS 11322 13:06:11.57 JOB00562 00000290 -JOBNAME STEPNAME PROCSS
    S PAGE SWAP VIO SWN
    N 0004000 TESTMVS 11322 13:06:11.57 JOB00562 00000290 -DB2EXTR RUNPRS
    S 0 0 0 N
    N 0000000 TESTMVS 11322 13:06:11.57 JOB00562 00000090 IEF404I DB2EXTR - ENDED N
FOUND!

OK, you see that there is a IEF403I and a IEF404I message.

There are no messages indicating errors here. Look at SYSTSPRT and SYSPRINT. What messages, if any, are there?

You just showed me my error it HAS to be //SYSTSPRT DD SYSOUT=A and i had //SYSPRINT DD SYSOUT=A
Now
    N 4000000 TESTMVS 11322 13:36:53.87 JOB00567 00000090 $HASP373 DB2EXTR START
    N 0000000 TESTMVS 11322 13:36:53.88 JOB00567 00000090 IEF403I DB2EXTR - START
    N 0020000 TESTMVS 11322 13:36:54.04 JOB00567 00000090 IEC130I SYSTSIN DD STA
    M 0000000 TESTMVS 11322 13:36:54.05 JOB00567 00000090 IEF450I DB2EXTR RUNPROG
    E 487 00000090 TIME=13.36.54
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -
    S ----PAGING COUNTS---
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -JOBNAME STEPNAME PROC
    S PAGE SWAP VIO S
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -DB2EXTR RUNP
    S 0 0 0
    N 0000000 TESTMVS 11322 13:36:54.06 JOB00567 00000090 IEF404I DB2EXTR - ENDED
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -DB2EXTR ENDED. NAME-
    S ELAPSED TIME= .00
    N 4000000 TESTMVS 11322 13:36:54.06 JOB00567 00000090 $HASP395 DB2EXTR ENDED
INGBI
 
Posts: 12
Joined: Fri Nov 18, 2011 10:43 pm
Has thanked: 0 time
Been thanked: 0 time

Re: A newbie tries to create a new DS using DD

Postby enrico-sorichetti » Sat Nov 19, 2011 1:21 am

IEC130I SYSTSIN DD STA

fix the above error and come bak when You have done it
I told You to check it in my previous reply
if You do not read what we tell You.. you are just looking for rudeness
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: A newbie tries to create a new DS using DD

Postby Akatsukami » Sat Nov 19, 2011 1:30 am

You just showed me my error it HAS to be //SYSTSPRT DD SYSOUT=A and i had //SYSPRINT DD SYSOUT=A
Now
    N 4000000 TESTMVS 11322 13:36:53.87 JOB00567 00000090 $HASP373 DB2EXTR START
    N 0000000 TESTMVS 11322 13:36:53.88 JOB00567 00000090 IEF403I DB2EXTR - START
    N 0020000 TESTMVS 11322 13:36:54.04 JOB00567 00000090 IEC130I SYSTSIN DD STA
    M 0000000 TESTMVS 11322 13:36:54.05 JOB00567 00000090 IEF450I DB2EXTR RUNPROG
    E 487 00000090 TIME=13.36.54
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -
    S ----PAGING COUNTS---
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -JOBNAME STEPNAME PROC
    S PAGE SWAP VIO S
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -DB2EXTR RUNP
    S 0 0 0
    N 0000000 TESTMVS 11322 13:36:54.06 JOB00567 00000090 IEF404I DB2EXTR - ENDED
    N 0004000 TESTMVS 11322 13:36:54.06 JOB00567 00000290 -DB2EXTR ENDED. NAME-
    S ELAPSED TIME= .00
    N 4000000 TESTMVS 11322 13:36:54.06 JOB00567 00000090 $HASP395 DB2EXTR ENDED

Unfortunately that is not the case. SYSTSPRT will be certainly be used, but SYSPRINT will very likely also be used.

The brilliant, if occasionally slightly irascible ;) Dr. Sorichetti has made a good catch that I missed. The full IEC130I message will be
IEC130I SYSTSIN DD STATEMENT MISSING

Check your JCL, and make sure that the SYSTSIN DD statement is well-formed.

ETA: And re-reading the first post, I see that the JCL has SYSIN instead of SYSTSIN. Please change that and re-run.
Last edited by Akatsukami on Sat Nov 19, 2011 1:31 am, edited 1 time in total.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: A newbie tries to create a new DS using DD

Postby INGBI » Sat Nov 19, 2011 1:30 am

enrico-sorichetti wrote:
IEC130I SYSTSIN DD STA

fix the above error and come bak when You have done it
I told You to check it in my previous reply
if You do not read what we tell You.. you are just looking for rudeness

I AT LAST Understood you! Sorry for my rudeness. Every thing works. That were the problems in the code.
BIG Thank You to all who helped.
Akatsukami thank for being patient !
Enrico i thank you for your patience (it is hard with such brainless as me)!
Thread can be closed!
INGBI
 
Posts: 12
Joined: Fri Nov 18, 2011 10:43 pm
Has thanked: 0 time
Been thanked: 0 time

Re: A newbie tries to create a new DS using DD

Postby BillyBoyo » Sat Nov 19, 2011 1:46 am

Akatsukami wrote:[...]
(But first, "Opal". I used to be a member of a message board, one of the other members of which was a woman using the screenname "OpalCat". She was quite vehement in her opinion that a list had to have at least three items in it. The custom grew up that, whenever one of the members was going to post a two-item list, he would make it a three-item list by appending "Hi, Opal!" As can be seen, I still do that.)
[...]


I used to have an IT Director who infected us in a similar way: "... and thirdly, remember, there are always three things" he'd say. It's a hard habit to kick.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: A newbie tries to create a new DS using DD

Postby enrico-sorichetti » Sat Nov 19, 2011 1:48 am

I posted
but You posted the data from some early run the latest jcl has the proper SYSTSIN dd so You should look somewhere else

my bad for not reading things correctly, the snippet for the SYSTSIN was not something that the TS submitted, but the snippet to be modified
i thought that it was the submitted one and overlooked/misread the whole shebang
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post