IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Ceate dated sequential file using system date under OPC


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Aug 02, 2006 12:02 pm
Reply with quote

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

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Aug 02, 2006 4:32 pm
Reply with quote

murmohk1, you should provide details as to what scheduling system you are using when you run this. It would be helpful.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed Aug 02, 2006 4:54 pm
Reply with quote

I guess its (scheduling system) OPC
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Wed Aug 02, 2006 6:07 pm
Reply with quote

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

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Aug 03, 2006 7:29 am
Reply with quote

Yes....
Back to top
View user's profile Send private message
jayesh_g

New User


Joined: 03 Mar 2004
Posts: 23

PostPosted: Fri Aug 04, 2006 10:34 pm
Reply with quote

Post the complete JCL.

Are you changing anything in the JCL after doing a JSCAN and before submitting the job?

-Jayesh.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Fri Aug 04, 2006 11:42 pm
Reply with quote

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

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Aug 07, 2006 9:26 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Convert PS to TXT file using jcl JCL & VSAM 7
This topic is locked: you cannot edit posts or make replies. Sort to include records of file 2 int... Java & MQSeries 1
No new posts How to modify file content using REXX CLIST & REXX 3
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
Search our Forums:

Back to Top