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
 
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 User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
This topic is locked: you cannot edit posts or make replies. Limit access to certain RACF group cvnlynn CLIST & REXX 5 Wed Aug 23, 2017 2:28 am

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