View previous topic :: View next topic
|
Author |
Message |
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Hi,
I used the following codes to create dated sequential file using system date -
code 1:
//STEP01 EXEC PGM=IEFBR14
//SYSOUT DD SYSOUT=*
//DDDD DD DSN=TSUA5TD.T&LMON.&LDAY.&LYR2..AAAA,UNIT=SYSDA,
// SPACE=(TRK,(1,1),RLSE),DISP=(,CATLG,DELETE),
// LRECL=80,RECFM=FB
code 2:
//STEP1 EXEC PGM=IEFBR14
//DDDDDD DD DSN=&SYSUID..D&YR2.&MON.&DAY..AAA,
// RECFM=FB,LRECL=80,UNIT=SYSDA,DISP=(NEW,CATLG,DELETE),
// SPACE=(TRK,(1,1))
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
When did JSCAN, parameters were passed correctly. Got 'INCORRECT USE OF AMPERSAND IN THE DSN FIELD' error when submitted the job.
Please help in solving the same.
Thanks,
Murali Mohan K |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
murmohk1, you should provide details as to what scheduling system you are using when you run this. It would be helpful. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
I guess its (scheduling system) OPC |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
OK, just to be clear (I think this post needs to be moved to the IBM Tools Forum):
You have JCL code (not a PROC) containing the code you indicated. You ran them through JobScan (Diversified Software) with the JSCAN macro, and JSCAN did not report any errors, such as "no value specified for symbolic parameter ..." or something similar.
Then, you ran the job(s), and your scheduling system (OPC/TWS) did NOT provide the proper symbolic substitution at runtime.
Is this synopsis accurate? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Yes.... |
|
Back to top |
|
|
jayesh_g
New User
Joined: 03 Mar 2004 Posts: 23
|
|
|
|
Post the complete JCL.
Are you changing anything in the JCL after doing a JSCAN and before submitting the job?
-Jayesh. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
jayesh_g, what I was attempting to do in my series of questions is to "nudge" the O/P into defining what the actual percieved problem is.
Is it a problem with JSCAN in that it didn't catch the undefined variables, or that it doesn't correlate them to the variables present in the scheduler? Or, is it a problem with the job scheduler in that it didn't know how to resolve those given variables?
Either way, realistically, the product's support team should probably be contacted. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Hi,
I have not changed anything after JSCAN before submitting the job.
Just add the job card to the provided step(s) and run the JCL. No value SET is required for any of the variables. I tried even with other shop (freind working in different company). Even he had the same problem (No error with JSCAN and 'INCORRECT USE OF AMPERSAND IN THE DSN FIELD' when submitted).
Thanks,
Murali Mohan K |
|
Back to top |
|
|
|