MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Skeleton

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Sep 05, 2003 2:12 am    Post subject: Skeleton Reply with quote

I am writing into an output file using the SKEL as a reference. Now this writing part using FTINCL is being done in a loop. What is happening is that only the information of the last record is being written in the output file
"LIBDEF ISPSLIB DATASET ID(aa.skel) UNCOND"
"LIBDEF ISPFILE DATASET ID('aa.out') UNCOND"
Like we use MOD in JCL, is there anyway to keep on updating keeping the previous written records intact.

The other question is the function of UNCOND. What does it do?

Thanks
_________________
Cheers!
Back to top
View user's profile Send private message
abracadabra
Beginner


Joined: 02 Sep 2003
Posts: 101
Topics: 55
Location: India

PostPosted: Fri Sep 05, 2003 4:34 am    Post subject: Reply with quote

I believe there is no other way other than to use table.
_________________
Cheers!
Back to top
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Sun Sep 07, 2003 6:36 pm    Post subject: Reply with quote

You can invoke multiple FTINCL's to progressively build data. I would check to ensure that you haven't got FTOPEN/FTCLOSE within the loop.

Here's an extract from quickref regarding the COND/UNCOND parameter of LIBDEF (note UNCOND is the default).

Quote:

COND
Specifies that the application-level library should be defined only if
there is no active application-level library for the specified type.

UNCOND
Specifies that the application-level library should be defined
regardless of the existence of an application-level library for the
specified type. This is the default.

_________________
Regards,
Mike.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group