View previous topic :: View next topic
|
Author |
Message |
lalitha.p
New User
Joined: 11 Sep 2008 Posts: 13 Location: India
|
|
|
|
Hi friends,
I wish to know more about IDMS/DC CV concepts. I am not finding any good websites to learn IDMS also
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 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
lalitha.p
New User
Joined: 11 Sep 2008 Posts: 13 Location: India
|
|
|
|
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 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Chinnadu
New User
Joined: 05 Mar 2009 Posts: 46 Location: Hyderabad
|
|
|
|
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 |
|
|
|