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 BillyBoyo » Sat Nov 19, 2011 12:25 am

INGBI wrote:[...]

Note: If you run the job more than once, you will need to delete the data set it creates first. If you do not do this, you will get a JCL Error and a message in the job output indicating that the new data set couldn't be allocated due to a duplicate data set name.
[...]


Did you take any notice of this from your instructions? I'm not sure you'd get a "JCL Error" as I understand that term, but there is a good possibility that you are not seeing the latest data.

EDIT in flight: No, that is not the SYSOUT. Read Mr Akatsukami's post on how to look at your output.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 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 12:25 am

Akatsukami wrote:You need to supply a bit more -- actually a lot more -- information. I will try to explain.

(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.)

The output is "held". Presumably you have a TSO ID from which the job is submitted. Your site will have some tool -- SDSF, IOF, (E)JES, or smething similar -- that will allow you to view it. View the file named JESMSGLG. Find the IEF403I (start) message and the IEF404I (end) message. Copy and paste everything between the two (if there are a reasonable number) here.

Yes there are jobs in output. I have SDSF, How to view file named JESMSGLG. I'm trying, but it is my 3 day with z/OS.
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 INGBI » Sat Nov 19, 2011 12:27 am

BillyBoyo wrote:
INGBI wrote:[...]

Note: If you run the job more than once, you will need to delete the data set it creates first. If you do not do this, you will get a JCL Error and a message in the job output indicating that the new data set couldn't be allocated due to a duplicate data set name.
[...]


Did you take any notice of this from your instructions? I'm not sure you'd get a "JCL Error" as I understand that term, but there is a good possibility that you are not seeing the latest data.

EDIT in flight: No, that is not the SYSOUT. Read Mr Akatsukami's post on how to look at your output.

Each time i submit job i at first Delete the data set. Yes i noticed.
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 12:32 am

I think the intention of the instructions was for you to put the method of deleting the file into the JCL, not to do it manually each time. Anyway, cross that one off as an option.

You need to select the job, then select the required listing dataset. With ISPF, if you get stuck, pressing PF1 will usually show you what commands are available and how to do things.
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 INGBI » Sat Nov 19, 2011 12:43 am

TY, i understood, i have plenty of job's here is the list:

    WIth ST (status of jobs) option i have:

    CIS0288 TSU00561 CIS0288 15 EXECUTION MVST MVST
    CIS0288 TSU08511 CIS0288 1 PRINT 1171
    CIS0288 TSU00066 CIS0288 1 PRINT 1506
    CIS0288D JOB02040 CIS0288 1 PRINT A 2283
    CIS0288D JOB02063 CIS0288 1 PRINT A 2292
    CIS0288 TSU06217 CIS0288 1 PRINT 3736

    WIth O (output que) i have:

    NP JOBNAME JobID Owner Prty C Forms Dest Tot-Rec
    CIS0288 TSU00066 CIS0288 144 A STD LOCAL 363
    CIS0288 TSU06217 CIS0288 144 A STD LOCAL 387
    CIS0288 TSU08511 CIS0288 144 A STD LOCAL 380
    CIS0288D JOB02040 CIS0288 144 A STD LOCAL 31
    CIS0288D JOB02063 CIS0288 144 A STD LOCAL 34

But which to look at? they all don't have IEF403I in JESMSGLG file.
EDIT: Sry i am a fool, this were files of the 12 of November
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 12:53 am

OK this a beginners forum where "all goes" ...
but <things> should go somewhere, on this topic we are just wasting time going nowhere :evil:

furthermore... did anybody notice
The existing program to extract all sales data since the beginning of the year from the DB2 database is
called DB2EXTR and is stored in ZOS.CONTEST1.PART2.LOAD. In order to execute this program you will
need to submit a JCL job.


we are just wasting time on a completely unskilled beginner participating to the IBM zOS contest..
( does not even understand the questions he is being asked and is completely unable to post any useful info )

comment added by editing the post

see this scaring question
what is "sysout of the run", you mean this?
IKJ56250I JOB DB2EXTR(JOB00555) SUBMITTED
***

This is my problem idk what are you asking for. How to get this "sysout" where it lays?

:shock:

a quick hint might be ok, but here the TS needs to be diapered and spoon fed thru all the contest

time for moderator to straighten up things , locking the topic maybe
Last edited by enrico-sorichetti on Sat Nov 19, 2011 12:58 am, edited 1 time in total.
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 INGBI » Sat Nov 19, 2011 12:55 am


    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!
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 INGBI » Sat Nov 19, 2011 12:59 am

enrico-sorichetti wrote:OK this a beginners forum where "all goes" ...
but <things> should go somewhere, on this topic we are just wasting time going nowhere :evil:

furthermore... did anybody notice
The existing program to extract all sales data since the beginning of the year from the DB2 database is
called DB2EXTR and is stored in ZOS.CONTEST1.PART2.LOAD. In order to execute this program you will
need to submit a JCL job.


we are just wasting time on a completely unskilled beginner participating to the IBM zOS contest..
( does not even understand the questions he is being asked and is completely unable to post any useful info )
comment added by editing the post
see the question about
IKJ56250I JOB DB2EXTR(JOB00555) SUBMITTED
***

being the requested sysout :shock:

a quick hint might be ok, but here the TS needs to be diapered and spoon fed thru all the contest

time for moderator to straighten up things , locking the topic maybe

You want to say that when you started z/OS there were no such things which you asked that were so stupid? :o
Yes i am unskilled beginner, and that's why i ask! It takes some time for me to understand the question, because it's my 3 day doing this! If this is waste of your time, you should not take part in this topic, i didn't ask only you, that's why it's a forum.
Last edited by INGBI on Sat Nov 19, 2011 1:03 am, edited 1 time in total.
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 Akatsukami » Sat Nov 19, 2011 1:01 am

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 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 enrico-sorichetti » Sat Nov 19, 2011 1:09 am

as pointed previously ...
please please use Your brain cells and honestly tell us what does the last post contain of useful to give You any help
reread it and honestly tell us !

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

but really the last thing You need is help... You need basic training
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

PreviousNext

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post