×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




If you're on V6R1 or above, you can use the CLOSE command to close a file
that was opened with the RCVF command.

http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/cl/close.htm



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dennis Lovelady
Sent: Thursday, October 27, 2011 17:56
To: 'Midrange Systems Technical Discussion'
Subject: RE: CLP Question

You cannot use CLOF for a file that you did not explicitly OPN (such as
OPNQRYF et al).

RCLRSC LEVEL(*CALLER) will close that file.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
Why is the alphabet in that order? Is it because of that song?


I hear you on being lazy, I'll change it...where should the clof
go...I've tried it and it doesn't resolve the issue.





-----Original Message-----
From: rob <rob@xxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Sent: Thu, Oct 27, 2011 3:36 pm
Subject: Re: CLP Question


Close the file in the program that opened it? (T2853C1) I am not a
big fan of MONMSG CPF0000. That's a sign that one is too lazy o look
up the real message, CPF2105. Do you really want to try to ignore
PF2114, CPF2189 or a host of other messages that are possible?

ob Berendt
-
roup Dekko
ept 1600
ail to: 2505 Dekko Drive
Garrett, IN 46738
hip to: Dock 108
6928N 400E
Kendallville, IN 46755
ttp://www.dekko.com


From: fbocch2595@xxxxxxx
o: midrange-l@xxxxxxxxxxxx,
ate: 10/27/2011 03:06 PM
ubject: CLP Question
ent by: midrange-l-bounces@xxxxxxxxxxxx


i Folks, when I run this code;
DLY: +
DLTF FILE(QTEMP/T2853PF)
MONMSG MSGID(CPF0000)
CRTPF FILE(QTEMP/T2853PF) RCDLEN(132)
MONMSG MSGID(CPF0000)
DSPMSG MSGQ(QSYSOPR) OUTPUT(*PRINT)
CPYSPLF FILE(QPDSPMSG) TOFILE(QTEMP/T2853PF) SPLNBR(*LAST)
DLTSPLF FILE(QPDSPMSG) SPLNBR(*LAST)
CPYF FROMFILE(QTEMP/T2853PF) TOFILE(QPRINT)
EAD: +
RCVF
MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END))
CHGVAR VAR(&MSGID) VALUE(%SST(&T2853PF 1 7))
IF COND(&MSGID *EQ 'ATC1425') THEN(DO)
CALL PGM(T2853C1)
ENDDO
GOTO CMDLBL(DLY)
I'm getting this after the code goes to DLY again;
3200 - DLTSPLF FILE(QPDSPMSG) SPLNBR(*LAST)
3400 - RCVF DEV(*FILE) RCDFMT(*FILE) WAIT(*YES) OPNID(*NONE)
File name is T2853PF. */
2400 - DLTF FILE(QTEMP/T2853PF)
Cannot do operation on file T2853PF in QTEMP.

hat do I have to do to be able to DLTF the file?
Thanks

-
his is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
ist o post a message email: MIDRANGE-L@xxxxxxxxxxxx o subscribe,
unsubscribe, or change list options,
isit: http://lists.midrange.com/mailman/listinfo/midrange-l
r email: MIDRANGE-L-request@xxxxxxxxxxxx efore posting, please take a
moment to review the archives t
http://archive.midrange.com/midrange-l.

-
his is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list o post a message email: MIDRANGE-L@xxxxxxxxxxxx o subscribe,
unsubscribe, or change list options,
isit: http://lists.midrange.com/mailman/listinfo/midrange-l
r email: MIDRANGE-L-request@xxxxxxxxxxxx efore posting, please take a
moment to review the archives t
http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


---wlteihnssf---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.