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
 
Symbolic Variable Error while using CLIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
jramuk

New User


Joined: 14 Nov 2007
Posts: 18
Location: US

PostPosted: Fri Sep 05, 2008 10:23 am    Post subject: Symbolic Variable Error while using CLIST
Reply with quote

Hi,

PROC 0 ZCMD()
CONTROL NOLIST NOPROMPT MSG
ALTLIB ACTIVATE APPLICATION(EXEC) +
DATASET('a.b.c')
ALTLIB ACTIVATE APPLICATION(CLIST) +
DATASET('a.b.c')
ISPEXEC LIBDEF ISPPLIB DATASET +
ID('a.b.d')
ISPEXEC SELECT PANEL(AST) OPT(&ZCMD) NEWAPPL(WER) +
PASSLIB SCRNAME(TOOL)
ALTLIB DEACTIVATE APPLICATION(CLIST)
ISPEXEC LIBDEF ISPPLIB
EXIT

When I execute this prog. I'm getting a error

: F &:PROC 0 ZCMD()::CONTROL NOLIST NOPROMPT MSG:sALTLIB ACTIVATE APP
THIS STATEMENT HAS AN INVALID SYMBOLIC VARIABLE

Could someone tell me how to solve this.

Regards,
jramuk
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Fri Sep 05, 2008 11:03 pm    Post subject: Reply to: Symbolic Variable Error while using CLIST
Reply with quote

How as the file created? It looks like there are additional characters in the file. Perhaps change all p'^' to ' '.

Try editing and issue HEX ON. Is there anything besides '40'x where you expect blanks to be?
Back to top
View user's profile Send private message
jramuk

New User


Joined: 14 Nov 2007
Posts: 18
Location: US

PostPosted: Mon Sep 08, 2008 3:49 pm    Post subject:
Reply with quote

Pedro,

All blanks are only '40' and no other junk value is present. I tried both options, but in vain.
Back to top
View user's profile Send private message
Adrian Stern

New User


Joined: 13 Feb 2008
Posts: 12
Location: Sweden

PostPosted: Mon Sep 08, 2008 4:19 pm    Post subject: Reply to: Symbolic Variable Error while using CLIST
Reply with quote

I pasted your code into a blank pds member and ran it with no problems apart from the obvious - I don't have the datasets.

Can you post the screen dump of the error message as what you posted looks very odd?

aDRIAN
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1243
Location: Israel

PostPosted: Mon Sep 08, 2008 4:35 pm    Post subject:
Reply with quote

Maybe you have PACK ON in your edit PROFILE ?
Back to top
View user's profile Send private message
jramuk

New User


Joined: 14 Nov 2007
Posts: 18
Location: US

PostPosted: Mon Sep 08, 2008 5:18 pm    Post subject:
Reply with quote

Hi,

Thanks... the PROF had PACK ON
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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