MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Translate long fields

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
mdlipay
Beginner


Joined: 25 Feb 2013
Posts: 5
Topics: 3
Location: Pittsburgh

PostPosted: Sun Dec 08, 2013 10:02 pm    Post subject: Translate long fields Reply with quote

Is there an instruction that would enable me to translate long, variable length fields? Similar to TR, but that would enable me to work with fields 1-8k in length.

Thanks in advance.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Dec 09, 2013 11:24 am    Post subject: Reply with quote

mdlipay,

The Programming language is ?? Assembler or COBOL?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mdlipay
Beginner


Joined: 25 Feb 2013
Posts: 5
Topics: 3
Location: Pittsburgh

PostPosted: Mon Dec 09, 2013 1:02 pm    Post subject: Reply with quote

Sorry, Assembler.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Mon Dec 09, 2013 1:41 pm    Post subject: Reply with quote

mdlipay wrote:
Sorry, Assembler.


Did you try TRE? It allows you to specify arbitrary lengths, and if all the bytes aren't translated it sets CC=3 and you branch back to the instruction.

It is explained in the Principles of Operation manual which can be found here(Right click on the link and choose save Link As..)

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/download/DZ9ZR009.pdf?

The instruction is explained in Chapter 7-342. or search the manual for "TRANSLATE EXTENDED"

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group