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 

Dynamic system symbol is not working at 78-82 columns

 
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
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Tue Aug 23, 2005 3:34 am    Post subject: Dynamic system symbol is not working at 78-82 columns Reply with quote

Iam using the dynamic system symbol in mailing process.
Using the pgm EZACFSM1,I did the same.
This is mailing part.

------ =_NextPart_000_01BD3BAF.A762FD80
CONTENT-TYPE:APPLICATION/OCTET-STREAM;NAME="WQX12-R1_2005082304&LMIN.43.CSV"
Content-Transfer-Encoding: ascii

Here i have given "WQX12-R1_&LYR4.&LMON.&LDAY.&LHR.&LMIN.&LSEC..CSV" as the input

At column 78-82,it doesnt identifies the symbol,whatever it is.
Is there any restriction to use this?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Aug 23, 2005 3:39 am    Post subject: Reply with quote

radkrish,

An L prefix denotes that they are local system symbols. Seems that your shop hasn't defined them. Remove the L prefix and re-submit the job.

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
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Tue Aug 23, 2005 4:01 am    Post subject: Reply with quote

Kolusu,

but for other symbols used at the position other than 78-82,L-prefix is working fine of me.you can see this.
Quote:

WQX12-R1_&LYR4.&LMON.&LDAY.&LHR.&LMIN.&LSEC..CSV



So it clearly says that it is defined.
Back to top
View user's profile Send private message
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Tue Aug 23, 2005 4:05 am    Post subject: Reply with quote

After removing L-prefix
input:
CONTENT-TYPE:APPLICATION/OCTET-STREAM;NAME="WQX12-R1_&YR4.&MON.&DAY.&HR.&MIN.&SEC..CSV"

output:
CONTENT-TYPE:APPLICATION/OCTET-STREAM;NAME="WQX12-R1_200508230903&SEC..CSV

only difference is the position of MIN changed and SEC symbol comes between
78-82 position.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Aug 23, 2005 4:10 am    Post subject: Reply with quote

Radkrish,

Run the following step and now check the sysout of the job.

Code:

//STEP0100 EXEC PGM=EZACFSM1                 
//SYSOUT   DD SYSOUT=*
//SYSIN    DD *                               
  THE DATE IS           :  &LYR4-&LMON-&LDAY 
  THE DATE IS           :  &LYR4&LMON&LDAY   
  THE DAY  IS           :  &LDAY             
  THE TIME IS           :  &LHR:&LMIN:&LSEC   
  THE HOUR IS           :  &LHR               
  THE MINUTE  IS        :  &LMIN             
  THE SECOND  IS        :  &LSEC             
  THE JULIAN DATE       :  &LJDAY             
  THE JOBNAME IS        :  &JOBNAME           
  THE DAY OF WEEK IS    :  &WDAY             
  THE YEAR IS           :  &LYR4             
  THE CURRENT DATE IS   :  &LYYMMDD           
  THE SYSTEM NAME  IS   :  &SYSNAME           
/*


If any of the symbols haven't expanded then they aren't defined in your system.

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
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Tue Aug 23, 2005 4:16 am    Post subject: Reply with quote

COMMAND INPUT ===>
********************************* TOP OF DATA **
THE DATE IS : 2005-08-23
THE DATE IS : 20050823
THE DAY IS : 23
THE TIME IS : 05:13:25
THE HOUR IS : 05
THE MINUTE IS : 13
THE SECOND IS : 25
THE JULIAN DATE : 235
THE JOBNAME IS : ABCDEF
THE DAY OF WEEK IS : TUE
THE YEAR IS : 2005
THE CURRENT DATE IS : 050823
THE SYSTEM NAME IS : AAA1

It gave correct value.

Kolusu,

Can you pls check by giving any of system symbols at 78-82 position at your end,if possible.
Back to top
View user's profile Send private message
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Tue Aug 23, 2005 5:04 am    Post subject: Reply with quote

kolusu,

Position 78-82, 156-158 has the problem of not recognizing the dynamic symbols.
The symbols were expanded in other positions except the above.
I think it may be the multiple of 78's.

I used the symbol in position other the multiple of 78's.It worked fine.

pls confirm this whether this exists for my shop alone.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Tue Aug 23, 2005 5:58 am    Post subject: Reply with quote

Quote:

kolusu, Position 78-82, 156-158 has the problem of not recognizing the dynamic symbols.


Nope ! Not true. I don't have any problem with the expansion of symbols at position 78 thru 82.

How are you passing your symbolics? via a dataset or sysin?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Tue Aug 23, 2005 6:20 am    Post subject: Reply with quote

//*****************************************************
//STEP3 EXEC PGM=EZACFSM1
//SYSIN DD DSN=abc.cde..fed.qwrr12,DISP=SHR
//SYSOUT DD DSN=abc.cde.fed.qwrr13
// DISP=(OLD,CATLG,DELETE),


abc.cde..fed.qwrr12 comtains the body of a mail.
Back to top
View user's profile Send private message
radkrish
Beginner


Joined: 12 Aug 2005
Posts: 102
Topics: 19

PostPosted: Wed Aug 24, 2005 12:47 am    Post subject: Reply with quote

I think that my shop alone doesnt recognise the symbol at that position while passing thru a dataset.

thanks,kolusu.thanks for your replies.
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
Page 1 of 1

 
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