IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Return value from a file into a JCL symbol


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Searchman

New User


Joined: 28 Dec 2006
Posts: 80
Location: France

PostPosted: Wed Apr 29, 2009 12:17 pm
Reply with quote

I need to get a value which is in a SEQ file to assign it to a JCL symbol and then use this symbol in a PROC

Ex : value 50 in SEQ file
return 50 in &A so that &A=50
then do a loop in a PROC 50 times
So, there's 2 questions :
1- how to return 50 ?
2- how to execute 50 times ?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Apr 29, 2009 12:21 pm
Reply with quote

1) CANNOT BE DONE
2) CANNOT BE DONE

the only alternative is to build dynamically the JCL and submit it thru the internal reader
Back to top
View user's profile Send private message
Searchman

New User


Joined: 28 Dec 2006
Posts: 80
Location: France

PostPosted: Wed Apr 29, 2009 10:12 pm
Reply with quote

it's a pity !

Thank you for your idea of generating dynamically jcl
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top