IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Banned: develop one new pgm in EASYTRIEVE in mainframe


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
siva_mainframe
Currently Banned

New User


Joined: 05 Mar 2007
Posts: 2
Location: chennai

PostPosted: Thu Mar 22, 2007 6:19 pm
Reply with quote

Hi friends,

I have to develop one new pgm in EASYTRIEVE in mainframe
In the Input file,
The Account # is starting at Posn 12. The program should read the input file and change the following...

acct number "12345' in posn 12, the following

a. constant '000000001100' needs to be populated
Posn 40 to Posn 51. It should overwrite whatever values are present in that position

b. The Id posn 106 to 111 should be populated with constant '9999'

c. The date in posn 31 to 36 should be populated with constant '032007'


please can any one help to finish this work
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 22, 2007 6:22 pm
Reply with quote

May I ask if there are manuals at your site ?
Back to top
View user's profile Send private message
siva_mainframe
Currently Banned

New User


Joined: 05 Mar 2007
Posts: 2
Location: chennai

PostPosted: Thu Mar 22, 2007 6:25 pm
Reply with quote

actually i dont have any manuals for this easytrieve.......
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 22, 2007 6:28 pm
Reply with quote

Mmmmmmmmmmmmmmmmm, if you do not have any manuals for the product that you are expected to use, perhaps it may be a good time to explain the situation to your boss. I know that I would.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Mar 22, 2007 7:34 pm
Reply with quote

If you are changing data in a file at fixed position for all records unconditionally then you can do using SORT, and why do you want to code in Easytrieve without knowing Easytrieve language ? I assume you know SORT utility
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 22, 2007 8:59 pm
Reply with quote

Hello,

As you proceed, please note that
Quote:
The Id posn 106 to 111 should be populated with constant '9999'
needs a bit of help - the positions and the literal are not the same length.

If your site is a licensed user of EasyTrieve, the documentation may be downloded for free from the CA support site.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
No new posts NDM getting stuck - mainframe/JCL All Other Mainframe Topics 13
Search our Forums:

Back to Top