View previous topic :: View next topic |
Author |
Message |
chandra Beginner
Joined: 26 Sep 2003 Posts: 130 Topics: 36
|
Posted: Thu Jun 10, 2004 2:37 am Post subject: |
|
|
Hi Kolusu,
I am trying to execute your JCL but the job is giving following error messages
Quote: |
02.20.28 JOB13453 $HASP165 USERIDA ENDED AT LBJES2 - JCL ERROR CN(INTERNAL)
02.20.28 JOB13452 $HASP165 TSXXXXXC ENDED AT LBJES2 MAXCC=0 CN(INTERNAL)
|
I am not able to see the job(JOB13453) in SDSF.
Then I tried with TYPRUN=SCAN then I got the following error message in SDSF
Quote: |
$HASP106 JOB DELETED BY JES2 OR CANCELLED BY OPERATOR BEFORE EXECUTION
|
Please let me know what is the error. _________________ Regards,
Chandra |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Thu Jun 10, 2004 5:07 am Post subject: |
|
|
Chandra,
Quote: |
02.20.28 JOB13453 $HASP165 USERIDA ENDED AT LBJES2 - JCL ERROR CN(INTERNAL)
|
You forgot to change the USERID in the JCL to your TID which is TSXXXXX
Change that and your job should run fine . Also read my post which is 3 posts above this post for a better understanding of the job.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Wed Aug 18, 2004 2:29 pm Post subject: |
|
|
You can try something like this format:
userid.Yccyy.MDmmdd.Thhmmss
Regards, Jack. |
|
Back to top |
|
 |
maram_mahinder Beginner
Joined: 26 Sep 2005 Posts: 2 Topics: 1
|
Posted: Mon Sep 26, 2005 7:32 am Post subject: |
|
|
hai...
Thank for giving this JCL
can u send the details abt PGM=EZACFSM1....
what is the Use of this Program...
Thankx&Regards
Mahinder |
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
|
Back to top |
|
 |
parsesource Beginner
Joined: 05 Oct 2005 Posts: 1 Topics: 0
|
Posted: Wed Oct 05, 2005 1:14 pm Post subject: Re: current date and time in Dataset name |
|
|
misi wrote: | I need to have the current date and time as a part of my dataset. can any body help me?
I want USERID.YYYYMMDD.HHMMSS
misi |
Step1: CREATE a DS USERID.xxx with IEFBR14
Step2: Rename DS with IKJEFT01 / Rexx
Build a DSNAME STring with Rexx + Date/Time functions
+ ADDRESS TSO "RENAME 'USERID.xxx' "string" " |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Sun Apr 16, 2006 3:41 pm Post subject: |
|
|
Would you please tell me why I am getting "Invalid block size" after running this JCL?
I ran the same. I have not changed anything and job ended successfully but showing blocksize as 0 if I put "I" against the dataset. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Sun Apr 16, 2006 7:20 pm Post subject: |
|
|
Quote: |
Would you please tell me why I am getting "Invalid block size" after running this JCL?
I ran the same. I have not changed anything and job ended successfully but showing blocksize as 0 if I put "I" against the dataset.
|
Mf_user,
Which Job did you run? This one?
http://mvsforums.com/helpboards/viewtopic.php?p=9949#9949
If so make sure that you the Delimiter correctly at the end of the job.
If you still got an error post the JCL you ran here
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Sun Apr 16, 2006 7:53 pm Post subject: |
|
|
Hi,
I don't see any difference in the job from the link you provided.
My job is this -->
Code: |
//STEP0100 EXEC PGM=EZACFSM1
//SYSOUT DD SYSOUT=(*,INTRDR)
//SYSIN DD DATA,DLM=@@
//XXXXXXEZ JOB (XXXXXX,XXXX),
// 'XXXXX,XXXXXXX',
// CLASS=X,
// MSGCLASS=Y,
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//STEP0100 EXEC PGM=IEFBR14
//FILE01 DD DSN=&SYSUID..D&LYYMMDD..T&LHHMMSS,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=00000)
@@
|
Any help. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
Posted: Sun Apr 16, 2006 8:05 pm Post subject: |
|
|
Quote: |
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=00000)
|
Mf_user,
Looks like your shop has restricted the usage of BLKSIZE=0. Try giving a valid block size and see if it works.
Try with this
Quote: |
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=27920)
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
|
Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Mon Apr 17, 2006 1:08 am Post subject: |
|
|
mf_user,
I don't see any difference b/w the links. But, why did you ask that ? One points to your own post in this particular thread and the other one is a solution given by kolusu.
Thanks,
Phantom |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Mon Apr 17, 2006 11:35 pm Post subject: |
|
|
Phantom, I am a novice of HTML. When I clicked on this link it was opening the same page in a new window. I was under impression that it will open some other page. Later only I understood that it was pointing to the post where should I look into. They are kind of book marks within a page. Aren't they? The same thing is available in MS-WORD too. Now I understand.
Thank you. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Tue Apr 18, 2006 12:08 am Post subject: |
|
|
Thanks Kolusu. It is working fine with BLKSIZE=27920. The BLKSIZE=0 is disabled at our installation... They are using something called WAAPINIT to create a dataset with BLKSIZE=0..........  _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
sanjayr321 Beginner
Joined: 25 Sep 2006 Posts: 28 Topics: 15
|
Posted: Wed Nov 22, 2006 11:46 am Post subject: |
|
|
Kolusu,
Code: |
//STEP0100 EXEC PGM=EZACFSM1
//SYSOUT DD SYSOUT=*
//SYSIN DD DATA,DLM=@@
//XXXXXXEZ JOB (XXXXXX,XXXX),
// 'XXXXX,XXXXXXX',
// CLASS=X,
// MSGCLASS=Y,
// MSGLEVEL=(1,1),
// NOTIFY=&SYSUID
//STEP0100 EXEC PGM=IEFBR14
//FILE01 DD DSN=&SYSUID..D&LYYMMDD..T&LHHMMSS,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=00000)
@@
|
I executed your above code for creating a dataset with date and time, the job ended with maxcc=0 but the dataset is not allocated..
Please can you tell me little bit elborate to create a dataset with date and time
Thanks... |
|
Back to top |
|
 |
|
|