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

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

SHARING ODP & POTENTIAL ERRORS IN RPG

View previous topic View next topic Go down

SHARING ODP & POTENTIAL ERRORS IN RPG

Post  maran on Fri Aug 07, 2009 10:24 pm

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

Posts : 442
Join date : 2009-07-24

View user profile http://pmsinformationsystem.forumotion.net

Back to top Go down

Re: SHARING ODP & POTENTIAL ERRORS IN RPG

Post  muthuraman on 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

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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