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
 
how to use skeleton in calling and called program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Mon Jul 26, 2010 6:18 pm    Post subject: how to use skeleton in calling and called program
Reply with quote

I have requirement to use skeleton in my calling program and called program as well.. it is working fine first time but second time member i am getting as blank.. here is the flow

Program A
"ISPEXEC LIBDEF ISPSLIB DATASET ID('ADCXSNS.JCL.AUTO.SKLTON.VAR3')"
"ISPEXEC LIBDEF ISPFILE DATASET ID('ADCXSNS.TEST.JCL')"

"ISPEXEC FTOPEN"
"ISPEXEC FTINCL "SKELETON""
"ISPEXEC FTINCL "SITEID""
"ISPEXEC FTCLOSE NAME("TJCL")"

call B

"ISPEXEC LIBDEF ISPSLIB"
EXIT 0


program B

"ISPEXEC FTOPEN"
"ISPEXEC FTINCL GDGBLD"
"ISPEXEC FTINCL EXECGDG"
"ISPEXEC FTCLOSE NAME(EXECGDG)"
ADDRESS TSO
"SUBMIT 'ADCXSNS.TEST.JCL(EXECGDG)'"

return

Maybe open and close has some error.. but could not able to resolve
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8657
Location: Back in jolly old England

PostPosted: Mon Jul 26, 2010 6:27 pm    Post subject:
Reply with quote

I do not use LIBDEF for ISPFILE, just the standard ALLOCATE and FREE commands.

Have you tried that
Back to top
View user's profile Send private message
Vkp321

New User


Joined: 05 Jan 2009
Posts: 35
Location: Pune

PostPosted: Mon Jul 26, 2010 7:03 pm    Post subject:
Reply with quote

Thanks, it is working fine using ALOC. Can we use different ISPFILE pds for different program.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2446
Location: Netherlands, Amstelveen

PostPosted: Mon Jul 26, 2010 7:03 pm    Post subject:
Reply with quote

What members do 'ADCXSNS.TEST.JCL' contain?
I only do see you execute a submit for the second created member.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Handling result sets in the calling N... Rusikesh DB2 7 Fri Apr 13, 2018 12:25 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Mantis Program Compiled? luis carlos CICS 2 Sat Apr 07, 2018 8:59 pm
No new posts Undefined Report Program socker_dad COBOL Programming 2 Fri Mar 30, 2018 1:45 am

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