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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
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


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