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

override a symbolic variable in the suffix of a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
maki_psg

New User


Joined: 28 Jan 2010
Posts: 47
Location: India

PostPosted: Mon Apr 29, 2013 10:17 pm
Reply with quote

Hi,

Will we be able to override the symbolic variable at the suffix of a dataset?

Pls see below the proc.

Code:

//TESTPRC PROC INFILE
//STEP0010 EXEC PGM=SORT
/*******************************************************
//SORTIN   DD DSN=ABCD.TEST.&INFILE,DISP=SHR
//SORTOUT DD DUMMY


Job

Code:

//ABCUSER1
//TESTJOB EXEC TESTPRC,
//           INFILE='INPUT1'
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Apr 29, 2013 10:42 pm
Reply with quote

what do the manuals tell ...
JCL guide, JCL reference ???
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Apr 29, 2013 11:33 pm
Reply with quote

Hello,

Suggest you run a little test and post here if anything unexpected/unwanted happens.

Why is the input "SHR"?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 30, 2013 9:32 am
Reply with quote

maki_psg wrote:
Will we be able to override the symbolic variable at the suffix of a dataset?
You face this problem only with "suffix" or with any other node/s as well?
Back to top
View user's profile Send private message
maki_psg

New User


Joined: 28 Jan 2010
Posts: 47
Location: India

PostPosted: Tue Apr 30, 2013 1:01 pm
Reply with quote

Hi all,

I was not able to override the symbolic variables in proc from jcl. I thought that I had faced this issue because I was having a symbolic override at suffix.

It was an issue with compilation of PROC in ENDEVOR. We have to give the JCL name in comments of SCL while staging the proc into Dev region. Thanks.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Apr 30, 2013 2:25 pm
Reply with quote

Thanks for posting what wprked for you. As you've never mentioned about compilation of PROC in ENDEVOR - I hope, now you understand that the initial post from you was not having enough information to provide you a good reply... icon_smile.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top