PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).

Join the forum, it's quick and easy

PMS Information Systems
Welcome to PMS Information Systems - IBM i (AS/400) Forum !!!

Get Answers for all your queries on IBM i (AS/400).
PMS Information Systems
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SHARING ODP & POTENTIAL ERRORS IN RPG

2 posters

Go down

SHARING ODP & POTENTIAL ERRORS IN RPG Empty SHARING ODP & POTENTIAL ERRORS IN RPG

Post  maran Fri Aug 07, 2009 10:24 pm

What are the potential errors can occur in the RPG program when sharing an open data path??
maran
maran
Admin

Posts : 442
Join date : 2009-07-24

https://pmsinformationsystem.forumotion.net

Back to top Go down

SHARING ODP & POTENTIAL ERRORS IN RPG Empty Re: SHARING ODP & POTENTIAL ERRORS IN RPG

Post  muthuraman Fri Sep 25, 2009 5:52 pm

The follwing errors can occurs in the RPG program when sharing an open data path i.e.,

1. If a program sharing an open data path attempts file operations other than those specified by the first open(for example, attempting
input operations although the first open specified only output operations).

2. If a program sharing an open data path for an externally described file tries to use a record format that the first program ignored.

3. If a program sharing an open data path for a program described file specifies a record length that exceeds the length established by the
first open.

muthuraman

Posts : 42
Join date : 2009-08-28

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum