×

Good News Everybody!

The new search engine is LIVE!

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




Jack,

What kind of session device error are you getting? Our basic package here
is RPG II. All of the workstations are coded as CP (combined primary),
though in a previous life I always used CD (combined demand). The
difference is that CP always reads a blank record first, for which one has
to code. Whereas with the CD the programmer is in control (EXCPT then read
it at the top of the next cycle).

I haven't converted any RPG II programs to RPG/400, much less RPG IV.
Usually just re-write them if major changes are needed. Otherwise I leave
them alone (I outgrew my masochism).

Jerry C. Adams
IBM i Programmer/Analyst
Do the right thing so you can be proud of yourself, till the day you die.
-George Lois, Damn Good Advice
--
A&K Wholesale
Murfreesboro, TN
615-867-5070


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jack Tucky
Sent: Tuesday, July 17, 2012 9:01 PM
To: 'Midrange Systems Technical Discussion'
Subject: Converting Sys/36 mode

I've been doing a few of these lately. There isn't too much OCL so it's not
too bad.



I've been leaving the display formats as internally described. If I just
convert the program and fix it up and run it, I get a session device error.



I can fix that by putting a 1P on the output spec of the first screen, but
sometimes I need to grab the LDA first or something similar.



I remember from my old days there was another way to fix that, maybe via a
compile option on the DSPF?



Thanks, Jack





--
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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.