Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Using lower case characters and underscore in JCL variables

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rajesh.ramadoss

New User


Joined: 18 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Feb 18, 2009 5:36 pm    Post subject: Using lower case characters and underscore in JCL variables
Reply with quote

I want to use lower case characters and underscore in SET variables in JCL. At present its converting to upper case by default during execution.
My objective is, JCL variable should contain unix filenames and path. Using files to store the values won't be useful, because the values are derived from other variables as well (partly) during execution. For example -
// SET ENV='test'
// SET TYPE='strong03'
//FTP3 EXEC PROC=FTP,FILIN=FIL.&ENV..&TYPE..OK

Thank you,
Rajesh
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Wed Feb 18, 2009 5:53 pm    Post subject:
Reply with quote

Try CAPS OFF
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Wed Feb 18, 2009 5:58 pm    Post subject:
Reply with quote

Doing some searches on IBM'S web site indicates that the TSO SUBMIT command by default changes lower case to upper case but your systems support group can change this behavior.
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Wed Feb 18, 2009 5:59 pm    Post subject: Reply to: Using lower case characters and underscore in JCL
Reply with quote

No, there's a bigger problem. The lower-case characters will cause a JCL error, and enclosing them in quotes negates the variable substitution. Don't have a possible solution yet ...
Back to top
View user's profile Send private message
rajesh.ramadoss

New User


Joined: 18 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Feb 18, 2009 6:11 pm    Post subject: Reply to Robert Sample
Reply with quote

Thanks, Robert.
Can you please tell me where this need to be updated and its impact on other aspects.

Thanks in advance,
Rajesh
Back to top
View user's profile Send private message
rajesh.ramadoss

New User


Joined: 18 Feb 2009
Posts: 3
Location: Chennai

PostPosted: Wed Feb 18, 2009 6:14 pm    Post subject: Reply to SUPERK
Reply with quote

Thanks, Super.
Actually, without the quotes, it errored and when given within quotes, it accpets it but its converted to upper case.
Please post any updates or alternate approaches, and out of box alternatives for the situation.
Thank you,
Rajesh
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed Feb 18, 2009 9:59 pm    Post subject:
Reply with quote

Hello,

You might use CAPS for the unix directories/file names. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8154
Location: East Dubuque, Illinois, USA

PostPosted: Thu Feb 19, 2009 5:38 am    Post subject:
Reply with quote

Try running FTP as a program, not a PROC, and specify a DD statement with the PATH statement to point to your Unix file name. If that works, you'll know the problem is with the SET and / or PROC part of the job. And I believe I have used DD statements with PATH to transfer files (lower case name files even) from Unix to another system, although I don't have access to my system tonight to confirm that.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts Remove junk values in a file and rite... KP1125 DFSORT/ICETOOL 2 Wed Jan 25, 2017 9:58 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us