Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Cant access the element of a compound variable to main prog.

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

New User


Joined: 05 Dec 2007
Posts: 29
Location: Bangalore

PostPosted: Mon Dec 17, 2007 5:52 pm    Post subject: Cant access the element of a compound variable to main prog.
Reply with quote

anybody tell me what's wrong with the following code:

Code:

externan subroutine:
...

X = OUTTRAP('DUMP.')                           
"REPRO IFILE(BCAS) OFILE(TSPS) COUNT("N"),     
 FROMKEY("KEY                                 
 X = OUTTRAP('OFF')                           
"EXECIO * DISKW TSPS(FINIS"                   
"EXECIO * DISKR TSPS(STEM BCASE. FINIS"       
"FREE FI(TSPS)"                               
"FREE FI(BCAS)"                               
RETURN   
                                     



here all the records are stored in the coumpound variable 'BCASE.' . But after returning the control to main program the records(element) present in this coumpound variavle 'BCASE' are not accessible. Please suggest me how to solve this problem. Is there any concept of gloval variable....I want to be able to access all the element present in this compound variable...In main program.
Back to top
View user's profile Send private message

Deru Sudibyo
Currently Banned

New User


Joined: 30 Nov 2007
Posts: 6
Location: Indonesia

PostPosted: Mon Dec 17, 2007 9:17 pm    Post subject:
Reply with quote

Nothing wrong. As what u r thinking, i am planning to add such facility to my freeware (zCBT). At the moment i recommend to use stack instead.
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 Writing on to GSAM variable length rohanthengal JCL & VSAM 6 Fri Mar 03, 2017 7:46 pm
No new posts Count Trailing Spaces in variable str... Virendra Shambharkar SYNCSORT 10 Thu Feb 02, 2017 12:23 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 6 Thu Oct 27, 2016 10:20 am
No new posts RACF profile access vasanthz All Other Mainframe Topics 11 Fri Sep 23, 2016 5:51 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us