View previous topic :: View next topic |
Author |
Message |
abracadabra Beginner
Joined: 02 Sep 2003 Posts: 101 Topics: 55 Location: India
|
Posted: Fri Sep 05, 2003 2:12 am Post subject: Skeleton |
|
|
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 |
|
|
abracadabra Beginner
Joined: 02 Sep 2003 Posts: 101 Topics: 55 Location: India
|
Posted: Fri Sep 05, 2003 4:34 am Post subject: |
|
|
I believe there is no other way other than to use table. _________________ Cheers! |
|
Back to top |
|
|
Mike Beginner
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Sun Sep 07, 2003 6:36 pm Post subject: |
|
|
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 |
|
|
|
|