Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DOS/VSE to MVS conversion

Status
Not open for further replies.

ShouldBeSleeping

Programmer
Dec 31, 2003
2
US
We have been told to add DCB=RECFM=FBM to SYSOUT DD statements for RPG programs that create reports. On a couple of programs I tested I didn't supply a RECFM value and it defaulted to 'U'. If I used RECFM=F or RECFM=FB the carriage control character was not supplied. Does RPG always use 'machine code' carriage control characters? Is there a circumstance where it would use 'ASA' carriage control characters?

Are there any documents available with conversion tips?

Thanks
 
Yeowl,,, make my brain hurt,, makes me think back to using rpg in a JCL environment. I don't think I have a good answer for you, as to control characters. I would ask,,, is there a difference between ASA and EBDIC,, or are we talking about the same thing??
 
Refer to for a description of the two types of codes. The ASA carriage control characters are character codes that are are based on the logical way of printing where you would advance the carriage and then print. The machine carriage control characters are the actual codes sent to the printer and are based on the way the printers actually print which is to print and then advance the carriage. JES has to convert ASA to machine code and does this by analyzing the current print line carriage control and then print the previous line with machine carriage control characters.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top