Joseph_Sadler
Well Known Member
[frown]
Üdvözöljük Zoltan, and Greetings to everybody else out there.
We searched the archives and retrieved Zoltan's solution for copying an NER Business Function from a post that was made on January 9th 2001. Unfortunately, it does not work for us.
We cannot "Paste" the event rules from our clipboard into the new BSFN as directed in step #8. (See below.) It is the Master BSFN N4600440 that we need to copy. It's too large to re-key ever line.
We can, however, copy the Event Rules from the original BSFN and paste them directly into the new BSFN, (bypassing the clipboard), but then almost every single line is disabled.
If we enable the line and open it, the variables are blank.
To fix each line would be the same work as re-keying the whole thing.
Has anybody else successfully copied an NER BSFN?
We are on B7333 SP 22, NT Deployment Server, AS/400 Enterprise server.
Thank you in advance to anybody who can even suggest the remotest possibility ;o)
Below is the solution we pulled out of the archives:
---------------------------------------------------------------------
Hey Venkat,
As you already well know, the object copy possibility vary under the different relases.
WHAT IS YOUR SYSTEM CONFIGURATION???? Is it still secret? )
In response to your question:
A.) You can easily copy C BSFNs as files and making minor changes in the code.
B.) You can not copy NER BSFNs, you have to re-enter them as owguru has told. Some suggestion from me, how to do it efficiently:
1.) Open the old BSFN with the NER designer, select the entire ER, copy to Clipboard, save the clipboard file.
2.) Print the ER into a text file.
3.) Define your new BSFN in OL (or in OMW? ;-)) and open with NER designer.
4.) Place a comment-line into the NER or any dummy code. It makes possible to preserve the entered variables when you save NER without code (see the following).
5.) Define all ER variable and take care very much:
* to enter them in the same order as it was entered in the old one
(if you do not guess, how can you determine it, then ask me)
* to use exactly the same ER names (you copy/paste them from your ER printout text created under 2.)
* to use the same DD items
6.) Save the BSFN and re-open it.
7.) Open your clipboard file created in 1.)
8.) Paste the ER into the BSFN and delete the dummy comment/code entered in 4.)
(here you can also save and reopen. if you get some error message, don't mind.)
9.) Click all ER lines, revise them in the appropriate window and save them with OK.
10.) Go through on all parameters in BSFN Calls.
12.) Re-map all Table I/O, to be on the safe side.
13.) Enable disabled lines if you was able to save them with OK. (Generally I open and revise these lines again in enabled status and save them again.)
14.) Sometimes you will have to reproduce some lines. Use your printout as guide-line in these cases.
Sometimes IF statements will be disabled and when you enable it then the IF and ENDIF part will have an opposite enabling status. If it occurs for you, then ask me, how can you reslove it.
To reproduce the DSTR of the BSFN is an other story.
Good luck and success,
Zoltán
P.S.: ... do not forget...(you know)! I will answer your issues next time only when I will see your sys conf info in your post! (... it isn't a really serious threat )
Üdvözöljük Zoltan, and Greetings to everybody else out there.
We searched the archives and retrieved Zoltan's solution for copying an NER Business Function from a post that was made on January 9th 2001. Unfortunately, it does not work for us.
We cannot "Paste" the event rules from our clipboard into the new BSFN as directed in step #8. (See below.) It is the Master BSFN N4600440 that we need to copy. It's too large to re-key ever line.
We can, however, copy the Event Rules from the original BSFN and paste them directly into the new BSFN, (bypassing the clipboard), but then almost every single line is disabled.
If we enable the line and open it, the variables are blank.
To fix each line would be the same work as re-keying the whole thing.
Has anybody else successfully copied an NER BSFN?
We are on B7333 SP 22, NT Deployment Server, AS/400 Enterprise server.
Thank you in advance to anybody who can even suggest the remotest possibility ;o)
Below is the solution we pulled out of the archives:
---------------------------------------------------------------------
Hey Venkat,
As you already well know, the object copy possibility vary under the different relases.
WHAT IS YOUR SYSTEM CONFIGURATION???? Is it still secret? )
In response to your question:
A.) You can easily copy C BSFNs as files and making minor changes in the code.
B.) You can not copy NER BSFNs, you have to re-enter them as owguru has told. Some suggestion from me, how to do it efficiently:
1.) Open the old BSFN with the NER designer, select the entire ER, copy to Clipboard, save the clipboard file.
2.) Print the ER into a text file.
3.) Define your new BSFN in OL (or in OMW? ;-)) and open with NER designer.
4.) Place a comment-line into the NER or any dummy code. It makes possible to preserve the entered variables when you save NER without code (see the following).
5.) Define all ER variable and take care very much:
* to enter them in the same order as it was entered in the old one
(if you do not guess, how can you determine it, then ask me)
* to use exactly the same ER names (you copy/paste them from your ER printout text created under 2.)
* to use the same DD items
6.) Save the BSFN and re-open it.
7.) Open your clipboard file created in 1.)
8.) Paste the ER into the BSFN and delete the dummy comment/code entered in 4.)
(here you can also save and reopen. if you get some error message, don't mind.)
9.) Click all ER lines, revise them in the appropriate window and save them with OK.
10.) Go through on all parameters in BSFN Calls.
12.) Re-map all Table I/O, to be on the safe side.
13.) Enable disabled lines if you was able to save them with OK. (Generally I open and revise these lines again in enabled status and save them again.)
14.) Sometimes you will have to reproduce some lines. Use your printout as guide-line in these cases.
Sometimes IF statements will be disabled and when you enable it then the IF and ENDIF part will have an opposite enabling status. If it occurs for you, then ask me, how can you reslove it.
To reproduce the DSTR of the BSFN is an other story.
Good luck and success,
Zoltán
P.S.: ... do not forget...(you know)! I will answer your issues next time only when I will see your sys conf info in your post! (... it isn't a really serious threat )