Joseph,

If it is not allocated, then SVC cannot return you any information. 

The DCB is a control block in memory. There is no DCB in your file. 

What I think you are looking for is information in the VTOC entry called DSCBs. 

To do this, use the OBTAIN macro. 

Tom Harper

Phoenix Software International 

Sent from my iPhone

> On Feb 3, 2025, at 9:02 AM, Joseph Reichman 
> <[email protected]> wrote:
> 
> Tom
> 
> This for a file on the system
> 
> It is not allocated to the Job
> 
> I’m trying to find out if a file exists
> 
> Thus I used locate with a camlst
> 
> Once found I  want to find out if the file has the correct DCB information
> 
> Thank you
> 
>> On Feb 3, 2025, at 8:59 AM, Tom Harper 
>> <[email protected]> wrote:
>> 
>> Joseph,
>> 
>> The DCB does not contain allocation information. Thus, not returned.
>> 
>> You probably want READJFCB.
>> 
>> Tom Harper
>> 
>> Phoenix Software International
>> 
>> 
>> Sent from my iPhone
>> 
>>>> On Feb 3, 2025, at 8:09 AM, Joseph Reichman 
>>>> <[email protected]> wrote:
>>> 
>>> Hi
>>> 
>>> I’m looking in the paragraph dynamic information text retrieval ( verb code 
>>> 07)
>>> For SVC 99
>>> 
>>> See a number of items that SVC 99 returns
>>> But surprisingly I do not see the DCB info
>>> Returned
>>> 
>>> 
>>> Thanks
>>> ----------------------------------------------------------------------
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to [email protected] with the message: INFO IBM-MAIN
>> 
>> 
>> --------------------------------------------------------------------------------
>> This e-mail message, including any attachments, appended messages and the
>> information contained therein, is for the sole use of the intended
>> recipient(s). If you are not an intended recipient or have otherwise
>> received this email message in error, any use, dissemination, distribution,
>> review, storage or copying of this e-mail message and the information
>> contained therein is strictly prohibited. If you are not an intended
>> recipient, please contact the sender by reply e-mail and destroy all copies
>> of this email message and do not otherwise utilize or retain this email
>> message or any or all of the information contained therein. Although this
>> email message and any attachments or appended messages are believed to be
>> free of any virus or other defect that might affect any computer system into
>> which it is received and opened, it is the responsibility of the recipient
>> to ensure that it is virus free and no responsibility is accepted by the
>> sender for any loss or damage arising in any way from its opening or use.
>> 
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN


--------------------------------------------------------------------------------
This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to