MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Current date and time in Dataset name
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
chandra
Beginner


Joined: 26 Sep 2003
Posts: 130
Topics: 36

PostPosted: Thu Jun 10, 2004 2:37 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Thu Jun 10, 2004 5:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Wed Aug 18, 2004 2:29 pm    Post subject: Reply with quote

You can try something like this format:

userid.Yccyy.MDmmdd.Thhmmss

Regards, Jack.
Back to top
View user's profile Send private message
maram_mahinder
Beginner


Joined: 26 Sep 2005
Posts: 2
Topics: 1

PostPosted: Mon Sep 26, 2005 7:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Sep 26, 2005 7:56 am    Post subject: Reply with quote

maram_mahinder,

Check this link.
http://www.mvsforums.com/helpboards/viewtopic.php?t=2353&highlight=ezacfsm1

Thanks,
Phantom
Back to top
View user's profile Send private message
parsesource
Beginner


Joined: 05 Oct 2005
Posts: 1
Topics: 0

PostPosted: Wed Oct 05, 2005 1:14 pm    Post subject: Re: current date and time in Dataset name Reply with quote

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
View user's profile Send private message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Sun Apr 16, 2006 3:41 pm    Post subject: Reply with 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
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Sun Apr 16, 2006 7:20 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Sun Apr 16, 2006 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Sun Apr 16, 2006 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Sun Apr 16, 2006 8:06 pm    Post subject: Reply with quote

Hi,

Is there any difference between these two links?

http://mvsforums.com/helpboards/viewtopic.php?p=29942#29942

http://mvsforums.com/helpboards/viewtopic.php?p=9949#9949
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Mon Apr 17, 2006 1:08 am    Post subject: Reply with quote

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
View user's profile Send private message
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Mon Apr 17, 2006 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mf_user
Intermediate


Joined: 01 Jun 2003
Posts: 372
Topics: 105

PostPosted: Tue Apr 18, 2006 12:08 am    Post subject: Reply with quote

Thanks Kolusu. It is working fine with BLKSIZE=27920. The BLKSIZE=0 is disabled at our installation... Surprised They are using something called WAAPINIT to create a dataset with BLKSIZE=0.......... Shocked Confused Surprised
_________________
MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
==
Back to top
View user's profile Send private message Send e-mail
sanjayr321
Beginner


Joined: 25 Sep 2006
Posts: 28
Topics: 15

PostPosted: Wed Nov 22, 2006 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group