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

REPL ,READY & SNAP in IDMS


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lalitha.p

New User


Joined: 11 Sep 2008
Posts: 13
Location: India

PostPosted: Wed Oct 15, 2008 12:12 pm
Reply with quote

Hi friends,

I wish to know more about IDMS/DC CV concepts. I am not finding any good websites to learn IDMS also icon_smile.gif

Could any one please help me on what is the below command is used for?

1) IF REPL(SUBSTR(SN-F09I2,1,9),' ',0) NE
2) READY and SNAP

Cheers,
Lali icon_rolleyes.gif
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: Wed Oct 15, 2008 8:24 pm
Reply with quote

Hello Lali and welcome to the forum,

Quote:
I am not finding any good websites to learn IDMS also
I am not aware of any website where idms could be learned. . .

If your organization is licensed to use idms, all of the available material may be downloaded for free from CA support.
Back to top
View user's profile Send private message
lalitha.p

New User


Joined: 11 Sep 2008
Posts: 13
Location: India

PostPosted: Thu Oct 16, 2008 10:51 am
Reply with quote

Thanks for your response ...

I got IDMSADS & IDMS Batch Cobol Programming PDF's from CA Support

These pdf's gave idea about Ready command only But it helped me to learn IDMS and there is not much details about REPL& SNAP..

1) I guess REPL should indicate REPLACE.
REPL cmd is used as follows in my code. per the below line code.

IF REPL(SUBSTR(SN-F09I2,1,9),' ',0) NE TELEFOON-NUMMER OF TELEFOONNUMMER
MOVE REPL(APPARATUUR-STELSEL-CODE-WK950,' ','0')
TO APPARATUUR-STELSEL-CODE-WK950.

2) I guess SNAP should be used for PRINT option

If you have any idea abt REPL you can share with me icon_smile.gif
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 Oct 16, 2008 12:57 pm
Reply with quote

Hello,

I'd suggest you go back to CA and get all of the idms database manuals. There is much more documentation than what you have downloaded.
Back to top
View user's profile Send private message
Chinnadu

New User


Joined: 05 Mar 2009
Posts: 46
Location: Hyderabad

PostPosted: Fri Mar 06, 2009 5:03 pm
Reply with quote

Hey Lalitha,
I think below info would be usefull to you.

1) REPL purpose : REPL returns a string that results from replacing, in a string value, each occurrence of a specified search string with a specified replacement string.

Ex: In the example below, the replace function is used to replace all
occurrences of BB with XXX in the string 'AABBCCBBBDD':
Statement:
MOVE REPLACE('AABBCCBBBDD','BB','XXX') TO WK-STRING.
Returned string:
'AAXXXCCXXXBDD'

2) Ready : Inorder to access any IDMS database record we must ready the corresponding IDMS DB area using READY statement.

3) Snap can be used to debug DC programs.

If you still have doubts you can e-mail me.
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 -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts IDMS record copybook IDMS/ADSO 3
No new posts Can records in IMS/DB be related usin... IMS DB/DC 2
No new posts Where is output from PARM ABEXIT (SNA... CA Products 3
No new posts IDMS DC027007 T58 TASK:ADS2 PROG:ADSO... IDMS/ADSO 2
No new posts IDMS/DC-COBOL program - SNAP error wh... IDMS/ADSO 5
Search our Forums:

Back to Top